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

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 15:10:29 UTC