mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb/SVG: Make SVGClipPathElement inherit from SVGGraphicsElement
This commit is contained in:
parent
08ebfaff17
commit
3f8d4c2c92
Notes:
github-actions[bot]
2025-02-01 12:40:00 +00:00
Author: https://github.com/Gingeh
Commit: 3f8d4c2c92
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3178
Reviewed-by: https://github.com/kalenikaliaksandr
2 changed files with 4 additions and 4 deletions
|
@ -8,13 +8,14 @@
|
|||
|
||||
#include <LibWeb/SVG/AttributeParser.h>
|
||||
#include <LibWeb/SVG/SVGElement.h>
|
||||
#include <LibWeb/SVG/SVGGraphicsElement.h>
|
||||
#include <LibWeb/SVG/SVGViewport.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
class SVGClipPathElement final : public SVGElement
|
||||
class SVGClipPathElement final : public SVGGraphicsElement
|
||||
, public SVGViewport {
|
||||
WEB_PLATFORM_OBJECT(SVGClipPathElement, SVGElement);
|
||||
WEB_PLATFORM_OBJECT(SVGClipPathElement, SVGGraphicsElement);
|
||||
GC_DECLARE_ALLOCATOR(SVGClipPathElement);
|
||||
|
||||
public:
|
||||
|
@ -48,5 +49,4 @@ private:
|
|||
|
||||
Optional<ClipPathUnits> m_clip_path_units = {};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue