W3C home > Mailing lists > Public > www-style@w3.org > June 2012

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Sat, 09 Jun 2012 13:44:32 +0200
Message-ID: <4FD33720.5080800@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT