[whatwg] Selectors within <style scoped>
Roland Steiner
rolandsteiner at google.com
Thu Jun 16 22:39:28 PDT 2011
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
More information about the whatwg
mailing list