LibWeb: Implement <feImage> SVG filter

This commit is contained in:
Tim Ledbetter 2025-08-06 22:52:29 +01:00 committed by Sam Atkins
parent 5eff541804
commit d4f05bc4ef
Notes: github-actions[bot] 2025-08-29 09:16:34 +00:00
19 changed files with 242 additions and 3 deletions

View file

@ -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;