[css-syntax] consuming blocks inside a declaration's value

I think there is an error in

  http://dev.w3.org/csswg/css-syntax/#consume-a-declaration

This does not handle the following case:

  <style>
    p { color: red { ; background-color: red ; }
  </style>
  <p>blah</p>

No redness should show. But the current declaration consumption
will parse the style rule above as

	color: red {
and     background-color: red

showing then a red background. Declarations need to consume all
nested blocks.

</Daniel>

Received on Thursday, 20 March 2014 13:44:00 UTC