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

Re: [CSS21][css-syntax] Does selector+EOF create an empty rule?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 16 Jun 2013 09:44:29 +0200
Message-ID: <CAAWBYDAnw=NQ7p5m6GRE3MmbaGm2eypJpFB2jNY0i7ENfKJioA@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: "www-style@gtalbot.org" <www-style@gtalbot.org>, W3C www-style mailing list <www-style@w3.org>
On Sat, Jun 15, 2013 at 9:39 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 15/06/2013 07:05, Tab Atkins Jr. a écrit :]
>> I'm perfectly okay with your examples #2 ending up as an error, since
>> fixing it would require reintroducing the
>> "rule-filled/declaration-filled/neither" concept that I'm glad we got
>> rid of.
> Syntax is perfectly happy with "@media print<EOF>", it’s just an at-rule
> without a block (the ending semicolon is implied.) It’s at the Conditional
> Rule level that a block is expected for @media and this rule is deemed
> invalid.

Right, that's what I meant.

Received on Sunday, 16 June 2013 07:45:16 UTC

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