[css-syntax] declaration error handling

In "5.5.4. Consume a list of declarations" of the current ED you have:

"anything else:

  This is a parse error. Repeatedly consume the next input token until it  
is a semicolon token or EOF token."


Should this have been: "... Repeatedly consume a component value ..." in  
order to match blocks correctly?

For instance:

   * { # {; color: red; } }

The hash ends up as "anything else". If you simply consume the next input  
tokens, it means the first semi-colon inside the inner block will be the  
end of the declaration, which is wrong.

-- 
Rune Lillesveen

Received on Tuesday, 30 April 2013 12:15:33 UTC