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: Wed, 13 Jun 2012 23:34:46 +0200
Message-ID: <4FD90776.6070304@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: WWW Style <www-style@w3.org>
Le 13/06/2012 01:26, Tab Atkins Jr. a écrit :
> ...and yup, just did testing, and you're right.  Every single one of
> the tokens that I have listed as a parse error in the at-rule mode are
> perfectly valid and just form an invalid media query in every browser
> but WebKit.  The only exception is that } seems to close the block in
> Firefox (or maybe trigger error-handling).
>
> That eliminates a bunch of parse errors.  In particular, "consume a
> block" now always returns a block, which lets me simplify all the call
> sites!

"Consume a block" still has an "error flag" that is not used anymore.

-- 
Simon Sapin
Received on Wednesday, 13 June 2012 21:35:16 GMT

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