Re: [css3-syntax] @media screen;

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.

~TJ

Received on Monday, 21 January 2013 19:21:21 UTC