how should this invalid CSS be parsed?

hi,
I have the following CSS

     a {x:1}
     }
     b{y:2}
     c{z:3}

The specification says (as I remember) that if an error is found it is 
resolved with the next valid block.

So I thought the CSS above should be equivalent to:

     a {x:1}
     c{z:3}

Browsers on the other hand seem to simple remove the "}" and the CSS 
would be equivalent to

     a {x:1}
     b{y:2}
     c{z:3}

Which is right (according the specification intend)?

thanks a lot
Chris

p.s.: sorry for the repost, I replied to an old thread...

Received on Saturday, 3 November 2007 20:58:15 UTC