[whatwg] Selectors within <style scoped>

Tab Atkins Jr. jackalmage at gmail.com
Thu Sep 15 11:37:06 PDT 2011


On Thu, Sep 15, 2011 at 11:29 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 9/15/11 11:13 AM, Tab Atkins Jr. wrote:
>> On Thu, Sep 15, 2011 at 10:27 AM, Boris Zbarsky<bzbarsky at mit.edu>  wrote:
>>> On 9/15/11 9:40 AM, Dimitri Glazkov wrote:
>>>> @global seems cool.
>>>
>>> Seems like it needs CSS core grammar changes to be usable with @media and
>>> the like, right?
>>
>> No, there's no core grammar changes to be made - the core grammar
>> already allows @ rules to be nested.
>
> Hmm.  So it does.  I could have sworn that wasn't the case.
>
> OK, nevermind then.

You're probably just thinking about the last time this came up when it
was specifically about @media, and dbaron corrected me by showing that
the spec specifically forbids nesting within @media.

~TJ



More information about the whatwg mailing list