/* * Copyright (c) 2023, MacDue * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::SVG { // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextElement class SVGTextElement : public SVGTextPositioningElement { WEB_PLATFORM_OBJECT(SVGTextElement, SVGTextPositioningElement); public: virtual JS::GCPtr create_layout_node(NonnullRefPtr) override; protected: SVGTextElement(DOM::Document&, DOM::QualifiedName); virtual void initialize(JS::Realm&) override; }; }