[css-images-4] Allow a single color stop with two positions by cdoublev · Pull Request #10077 · w3c/csswg-drafts (original) (raw)

Expand Up

@@ -1828,18 +1828,18 @@ Color Stop Lists

Color stops and [=transition hints=] are specified

in a color stop list,

which is a list of two or more [=color stops=]

which is a list of one or more [=color stops=]

interleaved with optional [=transition hints=]:


 <color-stop-list> =

 <> , \[ <>? , <> \]#

 <> , \[ <>? , <> \]#?

 <linear-color-stop> = <> <>?

 <linear-color-hint> = <>

 <color-stop-length> = <>{1,2}

  
 <angular-color-stop-list> =

 <> , \[ <>? , <> \]#

 <> , \[ <>? , <> \]#?

 <angular-color-stop> = <> <>?

 <angular-color-hint> = <>

 <color-stop-angle> = <>{1,2}

[ ](#diff-994978825958ad4d2d852734a8d7d222a30c4bb14402ef0bb98905805bd763a3) Expand Down