LibWeb/SVG: SVGScriptElement includes SVGURIReference

This commit is contained in:
Jamie Mansfield 2024-07-16 13:49:28 +01:00 committed by Andreas Kling
commit fbb5bc471d
Notes: sideshowbarker 2024-07-17 07:14:09 +09:00
3 changed files with 7 additions and 2 deletions

View file

@ -7,11 +7,14 @@
#pragma once
#include <LibWeb/SVG/SVGElement.h>
#include <LibWeb/SVG/SVGURIReference.h>
namespace Web::SVG {
// https://www.w3.org/TR/SVG/interact.html#InterfaceSVGScriptElement
class SVGScriptElement : public SVGElement {
class SVGScriptElement
: public SVGElement
, public SVGURIReferenceMixin<SupportsXLinkHref::Yes> {
WEB_PLATFORM_OBJECT(SVGScriptElement, SVGElement);
JS_DECLARE_ALLOCATOR(SVGScriptElement);