Re: Suggestion for @global to help with <style scoped>

So then if the containing context may be used in a match, however that is
expressed it should specifically disallow the use of $ (or ! Or whatever the
subject indicator wound up being).
On Sep 21, 2011 11:10 AM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
> On Wed, Sep 21, 2011 at 8:05 AM, Brian Kardell <bkardell@gmail.com> wrote:
>> I apologize if I missed this reading through the whatwg threads, but
>> thinking about this with things like xbl in mind as well: is the goal
merely
>> to "limit the leaking" of styles outside the scope unless you really mean
it
>> or to truly encapsulate (disallow leaking outside the scope, but allow
you
>> to use the containing context in your match)?  Either way I am wondering
how
>> other conversations about selecting the subject play into possible
>> scenarios.
>
> A <style scoped> never styles anything outside of its scoping element
> (no matter what, matched elements are filtered to only those within
> the scope). We're discussing ways to control whether the containing
> context is used in matching or not.
>
> ~TJ

Received on Wednesday, 21 September 2011 16:27:07 UTC