[whatwg] Selectors within <style scoped>

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