W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css-hierarchies] Why require the & character?

From: Lea Verou <lea@verou.me>
Date: Tue, 3 Sep 2013 22:56:24 +0300
Cc: Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <DF64FB17-62E5-4793-AEB2-80BE90B55AC5@verou.me>
To: Tab Atkins Jr. <jackalmage@gmail.com>
On Sep 2, 2013, at 22:36, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> or figure out a
> "good enough" parsing compromise that lets us tell selectors and
> properties apart within a small, bounded number of tokens at the
> parser level, at the cost of sometimes misinterpreting
> previously-valid CSS.

This sounds interesting but I guess it depends on how common the previously-valid CSS is. Do you have any ideas? A while back you suggested requiring a space after the colon for properties, but I pointed out that this would break every single example of minified CSS in the wild. Do you have any other ideas in mind?

~Lea
Received on Tuesday, 3 September 2013 19:57:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC