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

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 UTC