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

Re: [css3-syntax] More changes from CSS 2.1 Core Grammar

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 31 Jan 2013 12:21:53 -0800
Message-ID: <CAAWBYDDvfnRRBM59QKQht7Sx4wYcWLFKcp8oFid0Qd0eJXZe2g@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style list <www-style@w3.org>
On Tue, Jan 29, 2013 at 10:22 PM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Le 30/01/2013 05:58, Tab Atkins Jr. a écrit :
>> The last item, I'm not sure about.  It would be trivial to support
>> style rules with empty selectors, actually - I'd just have to change
>> top-level mode and rule-block mode to recognize it, instead of
>> treating it like a syntax error as they currently do.  I think I
>> didn't realize it was allowed by 2.1's Core Grammar.
>
> I don’t know if it really matters. An empty selector is definitely invalid,
> and style rules with invalid selectors don’t show up in CSSOM, right?
>
> I’d say pick whatever makes Syntax simpler.

Per WG rough-agreement-or-apathy, I've changed it so that a style rule
with an empty selector is allowed.

~TJ
Received on Thursday, 31 January 2013 20:22:40 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT