mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
LibWeb: Implement <feComposite> SVG filter
This commit is contained in:
parent
bbfc3a0f5e
commit
a00e7cb20b
Notes:
github-actions[bot]
2025-09-30 21:34:29 +00:00
Author: https://github.com/tcl3
Commit: a00e7cb20b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5744
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/konradekk
15 changed files with 303 additions and 0 deletions
|
|
@ -92,6 +92,7 @@
|
|||
#include <LibWeb/SVG/SVGDescElement.h>
|
||||
#include <LibWeb/SVG/SVGEllipseElement.h>
|
||||
#include <LibWeb/SVG/SVGFEBlendElement.h>
|
||||
#include <LibWeb/SVG/SVGFECompositeElement.h>
|
||||
#include <LibWeb/SVG/SVGFEFloodElement.h>
|
||||
#include <LibWeb/SVG/SVGFEGaussianBlurElement.h>
|
||||
#include <LibWeb/SVG/SVGFEImageElement.h>
|
||||
|
|
@ -471,6 +472,8 @@ static GC::Ref<SVG::SVGElement> create_svg_element(JS::Realm& realm, Document& d
|
|||
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::feComposite)
|
||||
return realm.create<SVG::SVGFECompositeElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::feFlood)
|
||||
return realm.create<SVG::SVGFEFloodElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::feGaussianBlur)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue