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

@ -54,6 +54,7 @@ static ReadonlySpan<NamedPropertyID> attribute_style_properties()
NamedPropertyID(CSS::PropertyID::ClipPath),
NamedPropertyID(CSS::PropertyID::ClipRule),
NamedPropertyID(CSS::PropertyID::Color),
NamedPropertyID(CSS::PropertyID::ColorInterpolation),
NamedPropertyID(CSS::PropertyID::Cursor),
NamedPropertyID(CSS::PropertyID::Cx, { SVG::TagNames::circle, SVG::TagNames::ellipse }),
NamedPropertyID(CSS::PropertyID::Cy, { SVG::TagNames::circle, SVG::TagNames::ellipse }),