[css-images] Typos gradient grammars (original) (raw)

I suggest the following changes in the "expanded" grammar of 3.2.1. radial-gradient() Syntax (css-images-3, the note at the very bottom of the section):

Fixed in 09ceac0and 8f97e89

Expanded with the above definitions, the grammar becomes:

radial-gradient() = radial-gradient(

I believe that <size>s are missing ranges, and that a type extending to a color is missing, because <color-stop> expands to <color-stop-length> | <color-stop-angle>, which only expand to dimension(s)/percentage(s). I think it should be <color-stop-list> instead, or that <color-stop> should be changed there (css-images-4) to: