/* * Copyright (c) 2020, Matthew Olsson * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Web::SVG { class SVGElement : public DOM::Element { public: using WrapperType = Bindings::SVGElementWrapper; virtual bool requires_svg_container() const override { return true; } NonnullRefPtr dataset() const { return m_dataset; } protected: SVGElement(DOM::Document&, DOM::QualifiedName); NonnullRefPtr m_dataset; }; }