mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibWeb/SVG: SVGAElement includes SVGURIReference
This commit is contained in:
parent
6ca4c2beb0
commit
796de74956
Notes:
sideshowbarker
2024-07-17 07:14:12 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/796de74956 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/666
3 changed files with 6 additions and 2 deletions
|
@ -30,6 +30,7 @@ void SVGAElement::initialize(JS::Realm& realm)
|
|||
void SVGAElement::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
SVGURIReferenceMixin::visit_edges(visitor);
|
||||
visitor.visit(m_rel_list);
|
||||
}
|
||||
|
||||
|
|
|
@ -8,10 +8,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibWeb/SVG/SVGGraphicsElement.h>
|
||||
#include <LibWeb/SVG/SVGURIReference.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
class SVGAElement final : public SVGGraphicsElement {
|
||||
class SVGAElement final
|
||||
: public SVGGraphicsElement
|
||||
, public SVGURIReferenceMixin<SupportsXLinkHref::Yes> {
|
||||
WEB_PLATFORM_OBJECT(SVGAElement, SVGGraphicsElement);
|
||||
JS_DECLARE_ALLOCATOR(SVGAElement);
|
||||
|
||||
|
|
|
@ -20,5 +20,5 @@ interface SVGAElement : SVGGraphicsElement {
|
|||
|
||||
};
|
||||
|
||||
// FIXME: SVGAElement includes SVGURIReference;
|
||||
SVGAElement includes SVGURIReference;
|
||||
// FIXME: SVGAElement includes HTMLHyperlinkElementUtils;
|
||||
|
|
Loading…
Reference in a new issue