mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Implement <feImage>
SVG filter
This commit is contained in:
parent
5eff541804
commit
d4f05bc4ef
Notes:
github-actions[bot]
2025-08-29 09:16:34 +00:00
Author: https://github.com/tcl3
Commit: d4f05bc4ef
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5856
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/gmta
19 changed files with 242 additions and 3 deletions
|
@ -1695,7 +1695,8 @@ Optional<Gfx::Filter> PaintableBox::resolve_filter(CSS::Filter const& computed_f
|
|||
return;
|
||||
|
||||
if (auto* filter_element = as_if<SVG::SVGFilterElement>(*maybe_filter)) {
|
||||
auto new_filter = filter_element->gfx_filter();
|
||||
auto& layout_node = layout_node_with_style_and_box_metrics();
|
||||
auto new_filter = filter_element->gfx_filter(layout_node);
|
||||
|
||||
if (!new_filter.has_value())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue