mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
LibWeb/SVG: Add FEBlendElement
This commit is contained in:
parent
d3684a36b0
commit
f8b12614df
Notes:
github-actions[bot]
2025-07-09 17:08:39 +00:00
Author: https://github.com/ananas-dev
Commit: f8b12614df
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5028
Reviewed-by: https://github.com/gmta ✅
10 changed files with 139 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/SVGFEBlendElement.h>
|
||||
#include <LibWeb/SVG/SVGFEFloodElement.h>
|
||||
#include <LibWeb/SVG/SVGFilterElement.h>
|
||||
#include <LibWeb/SVG/SVGForeignObjectElement.h>
|
||||
|
@ -462,6 +463,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::feBlend)
|
||||
return realm.create<SVG::SVGFEBlendElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::feFlood)
|
||||
return realm.create<SVG::SVGFEFloodElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::filter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue