2021-09-18 00:04:19 +02:00
|
|
|
/*
|
2024-10-04 13:19:50 +02:00
|
|
|
* Copyright (c) 2021, Andreas Kling <andreas@ladybird.org>
|
2021-09-18 00:04:19 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <LibWeb/SVG/SVGGraphicsElement.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::SVG {
|
|
|
|
|
|
|
|
|
|
class SVGGElement final : public SVGGraphicsElement {
|
2022-08-28 13:42:07 +02:00
|
|
|
WEB_PLATFORM_OBJECT(SVGGElement, SVGGraphicsElement);
|
2024-11-15 04:01:23 +13:00
|
|
|
GC_DECLARE_ALLOCATOR(SVGGElement);
|
2021-09-18 00:04:19 +02:00
|
|
|
|
2022-08-28 13:42:07 +02:00
|
|
|
public:
|
2021-09-18 00:04:19 +02:00
|
|
|
virtual ~SVGGElement() override = default;
|
|
|
|
|
|
2024-12-20 16:35:12 +01:00
|
|
|
virtual GC::Ptr<Layout::Node> create_layout_node(GC::Ref<CSS::ComputedProperties>) override;
|
2022-08-28 13:42:07 +02:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
SVGGElement(DOM::Document&, DOM::QualifiedName);
|
2024-08-16 16:30:06 +01:00
|
|
|
|
|
|
|
|
virtual void initialize(JS::Realm&) override;
|
2021-09-18 00:04:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|