[css3-images] Missing brackets in gradient value types

Hi,

the syntaxes for the various gradient functions seem to be missing some  
brackets. For instance, in 5.1.1


<linear-gradient> = linear-gradient(
[
 [ [top | bottom] || [left | right] ]
 |
 <angle>
,]?
<color-stop>[, <color-stop>]+
);

should presumably be

<linear-gradient> = linear-gradient(
[[
 [ [top | bottom] || [left | right] ]
 |
 <angle>]
],]?
<color-stop>[, <color-stop>]+
);

(or however you want to format it), since juxtaposition is stronger than  
the bar. Similarly for the other three gradient variants.

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Monday, 21 February 2011 17:44:25 UTC