W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] Selectors within <style scoped>

From: Roland Steiner <rolandsteiner@google.com>
Date: Fri, 17 Jun 2011 14:39:28 +0900
Message-ID: <BANLkTinyrumQyHZd57w51zUv46=gRQ5SM6Hs8RToaA2tKqMtOg@mail.gmail.com>
On Fri, Jun 17, 2011 at 2:18 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 6/17/11 1:15 AM, Roland Steiner wrote:
>
>> Nitpick: prefixing :scope is only equivalent to limiting selector
>> matching to the current scope iff there is no ancestor scope.
>>
>
> Ancestor scope defined how?
>
> For a scoped stylesheet, there is only one scope, I would think: the
> parentNode of the <style> element.
>

Having another scoped stylesheet under an element further up. See my
previous post for an example.

- Roland
Received on Thursday, 16 June 2011 22:39:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC