mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb: Add SVGFilterElement
This commit is contained in:
parent
aeef179668
commit
63b451cb46
Notes:
github-actions[bot]
2025-02-22 09:15:28 +00:00
Author: https://github.com/gmta
Commit: 63b451cb46
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3657
10 changed files with 176 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
|||
#include <LibWeb/SVG/SVGDefsElement.h>
|
||||
#include <LibWeb/SVG/SVGDescElement.h>
|
||||
#include <LibWeb/SVG/SVGEllipseElement.h>
|
||||
#include <LibWeb/SVG/SVGFilterElement.h>
|
||||
#include <LibWeb/SVG/SVGForeignObjectElement.h>
|
||||
#include <LibWeb/SVG/SVGGElement.h>
|
||||
#include <LibWeb/SVG/SVGImageElement.h>
|
||||
|
@ -460,6 +461,8 @@ static GC::Ref<SVG::SVGElement> create_svg_element(JS::Realm& realm, Document& d
|
|||
return realm.create<SVG::SVGDescElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::ellipse)
|
||||
return realm.create<SVG::SVGEllipseElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::filter)
|
||||
return realm.create<SVG::SVGFilterElement>(document, move(qualified_name));
|
||||
if (local_name.equals_ignoring_ascii_case(SVG::TagNames::foreignObject))
|
||||
return realm.create<SVG::SVGForeignObjectElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue