Re: [css3-syntax] First draft of parser section completed

Le 09/06/2012 03:06, Tab Atkins Jr. a écrit :
> I just completed and pushed the first draft of the parser section of
> the Syntax module:
> <http://dev.w3.org/csswg/css3-syntax/#tree-construction>.
>
> Please critique and tell me about any errors you find.


In 3.5.7. Declaration mode, a '}' token currently is a parse error. It 
should end the declaration block normally, without error.

Example input: foo {}  bar { a: z; }


Still in the same mode, a ';' should be ignored without error. (Or at 
least it is in the CSS 2.1 core grammar.)

Example input: foo {; a: z }  bar { b: y;; c: x }

-- 
Simon Sapin

Received on Saturday, 9 June 2012 11:45:02 UTC