[csswg-drafts] [css-images-4] Clear gradient color stops with two locations for shipping

LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images-4] Clear gradient color stops with two locations for shipping ==
Hi all,

Last week [we cleared `conic-gradient()` for shipping](https://github.com/w3c/csswg-drafts/issues/2383). 

It turns out that many conic gradient demos are also using [the two position color stop syntax](https://drafts.csswg.org/css-images-4/#color-stop-syntax), since the `conic-gradient()` polyfill supported that too, so the Chrome developer implemented that as well. He asked me today if this has to wait until CR or it can be shipped alongside conic-gradient().

The [feature](https://drafts.csswg.org/css-images-4/#color-stop-syntax) is that gradient color stops can have two positions, and they are expanded into two consecutive color stops with the same color, which is useful for creating "bands" of color.

My arguments for clearing this too:

- It's a very minor, very straightforward syntactic sugar
- [It has existed in the spec since at least 2012](https://www.w3.org/TR/2012/WD-css4-images-20120911/#color-stop-syntax)
- Chrome implemented this a year ago

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2439 using your GitHub account

Received on Thursday, 15 March 2018 01:28:07 UTC