mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
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:
parent
040ccc3b42
commit
ad06ac0d58
Notes:
github-actions[bot]
2025-08-17 08:52:13 +00:00
Author: https://github.com/tcl3
Commit: ad06ac0d58
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5869
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
29 changed files with 192 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue