mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-06 16:19:40 +00:00
LibWeb: Implement <feOffset>
SVG filter
This commit is contained in:
parent
89b59cb5c3
commit
1377dba7af
Notes:
github-actions[bot]
2025-08-07 14:43:35 +00:00
Author: https://github.com/gmta
Commit: 1377dba7af
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5742
11 changed files with 141 additions and 0 deletions
|
@ -94,6 +94,7 @@
|
|||
#include <LibWeb/SVG/SVGFEBlendElement.h>
|
||||
#include <LibWeb/SVG/SVGFEFloodElement.h>
|
||||
#include <LibWeb/SVG/SVGFEGaussianBlurElement.h>
|
||||
#include <LibWeb/SVG/SVGFEOffsetElement.h>
|
||||
#include <LibWeb/SVG/SVGFilterElement.h>
|
||||
#include <LibWeb/SVG/SVGForeignObjectElement.h>
|
||||
#include <LibWeb/SVG/SVGGElement.h>
|
||||
|
@ -471,6 +472,8 @@ static GC::Ref<SVG::SVGElement> create_svg_element(JS::Realm& realm, Document& d
|
|||
return realm.create<SVG::SVGFEFloodElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::feGaussianBlur)
|
||||
return realm.create<SVG::SVGFEGaussianBlurElement>(document, move(qualified_name));
|
||||
if (local_name == SVG::TagNames::feOffset)
|
||||
return realm.create<SVG::SVGFEOffsetElement>(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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue