Re: [css-om][css3-conditional] spaces, newlines and rule serialization

On Wed, Jul 25, 2012 at 2:58 PM, Glenn Adams <> wrote:
> I'm not disputing that. In any case, "fixing|documenting" a standard
> serialization syntax for cssText et al is going to be like a walk in a mine
> field. Also, on Tab's comment about ";" being like a declaration terminator
> rather than a separator, I would just note that, according to the CSS2.1
> syntax, it is equivalent to appending an empty declaration to a declaration
> block.

Not really - that grammar clause marks the following declaration as
optional, not empty; there's no such thing as an empty declaration.

One shouldn't read too closely into a grammar for any purpose beyond parsing.


Received on Wednesday, 25 July 2012 22:10:56 UTC