25 lines
584 B
C++
25 lines
584 B
C++
/*
|
|
* 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);
|
|
|
|
private:
|
|
SVGTitleElement(DOM::Document&, DOM::QualifiedName);
|
|
|
|
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
|
|
|
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
|
|
virtual void children_changed() override;
|
|
};
|
|
|
|
}
|