- From: Tavmjong via GitHub <noreply@w3.org>
- Date: Mon, 06 Oct 2025 17:39:04 +0000
- To: public-svg-issues@w3.org
Tavmjong has just created a new issue for https://github.com/w3c/svgwg: == CSS Gradients == CSS gradients, defined in CSS Images Module [Level 3](https://www.w3.org/TR/css-images-3/) and [Level 4](https://www.w3.org/TR/css-images-4/), offer several things missing in SVG gradients: - Defining gradients in CSS rather than elements. - Conical gradients. - Interpolation in different color spaces. Of these features, the most interesting from our (Inkscape) perspective, is being able to define the color space for interpolation. Interpolation in polar color-spaces, in general, produces much better looking gradients that interpolation in sRGB or linear-RGB, avoiding the gray-washout typical found in the center of a gradient. There are several options for updating SVG gradients: 1. Reference CSS Images Module 4. In this case, one needs to define the SVG equivalent of the _**[gradient box](https://www.w3.org/TR/css-images-4/#gradient-box)**_. 2. Reference parts of CSS Images Module 4 (probably not useful). 3. Directly update SVG's gradients. In particular, add additional values to the property _[color-interpolation](https://www.w3.org/TR/SVG2/painting.html#ColorInterpolation)_. 4. Do nothing. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1021 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 6 October 2025 17:39:05 UTC