ladybird/Userland/Libraries/LibWeb/SVG/SVGTitleElement.h

27 lines
604 B
C
Raw Normal View History

/*
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/SVG/SVGElement.h>
namespace Web::SVG {
class SVGTitleElement final : public SVGElement {
WEB_PLATFORM_OBJECT(SVGTitleElement, SVGElement);
JS_DECLARE_ALLOCATOR(SVGTitleElement);
private:
SVGTitleElement(DOM::Document&, DOM::QualifiedName);
virtual void initialize(JS::Realm&) override;
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
virtual void children_changed() override;
};
}