W3C home > Mailing lists > Public > www-style@w3.org > July 2012

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 25 Jul 2012 15:10:09 -0700
Message-ID: <CAAWBYDBAvVj5awu=-8DEM4b6M9-Y9jrk6xbKdwNjmCQJCPofsQ@mail.gmail.com>
To: Glenn Adams <glenn@skynav.com>
Cc: "Edward O'Connor" <eoconnor@apple.com>, www-style@w3.org
On Wed, Jul 25, 2012 at 2:58 PM, Glenn Adams <glenn@skynav.com> 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.

~TJ
Received on Wednesday, 25 July 2012 22:10:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:57 GMT