LibWeb: Implement the color-interpolation property for SVG gradients

This changes the operating color space for gradient `<linearGradient>`
and `<radialGradient>` elements.
This commit is contained in:
Tim Ledbetter 2025-08-15 23:53:15 +01:00 committed by Jelle Raaijmakers
commit ad06ac0d58
Notes: github-actions[bot] 2025-08-17 08:52:13 +00:00
29 changed files with 192 additions and 13 deletions

View file

@ -156,6 +156,7 @@ Optional<Painting::PaintStyle> SVGLinearGradientElement::to_gfx_paint_style(SVGP
m_paint_style->set_gradient_transform(gradient_paint_transform(paint_context));
m_paint_style->set_spread_method(to_painting_spread_method(spread_method()));
m_paint_style->set_color_space(color_space());
return *m_paint_style;
}