W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: Shadow tree style isolation primitive

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 9 Jan 2015 16:49:24 +0100
Message-ID: <CADnb78g2AcuRrnNzD0TP4aiGDaJYtbKwqq9UZkzPDoNVs0K_Cg@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
On Fri, Jan 9, 2015 at 4:35 PM, Brian Kardell <bkardell@gmail.com> wrote:
> For clarity, are you suggesting you'd control the matching boundary via CSS
> somehow or you'd need an indicator in the tree?  A new element/attribute or
> something like a "fragment root" (sort of a shadowroot-lite)?

I wasn't suggesting anything since I'm not sure what the best way
would be. It has to be some flag that eventually ends up on an element
so when you do selector matching you know what subtrees to ignore. If
you set that flag through a CSS property you'd get circular
dependencies, but perhaps that can be avoided somehow. Setting it
through an element or attribute would violate separation of style and

Received on Friday, 9 January 2015 15:49:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:50 UTC