W3C home > Mailing lists > Public > www-style@w3.org > September 2011

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

From: Brian Kardell <bkardell@gmail.com>
Date: Wed, 21 Sep 2011 12:26:39 -0400
Message-ID: <CADC=+je9ri08ZDvFEcDCw0N6cfP-ChGrgu5HQg0gZ0=hfsvMeA@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
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
>> to "limit the leaking" of styles outside the scope unless you really mean
>> or to truly encapsulate (disallow leaking outside the scope, but allow
>> to use the containing context in your match)?  Either way I am wondering
>> 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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:04 UTC