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

Re: [css3-syntax] @media screen;

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 22 Jan 2013 18:00:38 -0800
Message-ID: <CAAWBYDAQNUpBj9FbubzS_jDHAbVoe4nt37O6Cf8AZo2C_y3qDw@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: "www-style@w3.org" <www-style@w3.org>
On Mon, Jan 21, 2013 at 11:20 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Mon, Jan 21, 2013 at 7:13 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
>> Hi,
>>
>> In 3.5.3. At-rule-prelude mode, a semicolon pops the current rule
>> unconditionally. I think it should trigger a parse error for rule-filled or
>> declaration-filled at-rules, just like { does for at-rules that are neither
>> rule-filled or declaration-filled.
>>
>> For example, these produce the same tree per the current ED:
>>
>>     @media screen;
>>     @media screen{}
>>
>> They should not. The former is a parse error, the rule is ignored (and does
>> not show up later in CSSOM.)
>
> Makes sense.  I'll fix this shortly.

Done.

~TJ
Received on Wednesday, 23 January 2013 02:01:25 GMT

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