1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibWeb: Implement the SVG title element

This commit is contained in:
Timothy Flynn 2023-06-08 11:46:44 -04:00 committed by Andreas Kling
parent 3a28be2a98
commit e2e4e6da52
7 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,25 @@
/*
* 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;
};
}