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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 30 Jan 2013 07:22:42 +0100
Message-ID: <5108BC32.1040806@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
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, 

I’d say pick whatever makes Syntax simpler.

Simon Sapin
Received on Wednesday, 30 January 2013 06:23:06 UTC

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