W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Shadow tree style isolation primitive

From: Brian Kardell <bkardell@gmail.com>
Date: Fri, 9 Jan 2015 10:56:40 -0500
Message-ID: <CADC=+jcZggFP_e9VeqxO6FGe9UezJcymbG-f7eAui9=j4P_9+Q@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
On Fri, Jan 9, 2015 at 10:49 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

>
> 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
> markup.
>
> Yeah, these are the reasons I ask - shadowRoot IMO kind of solves these
parts of the problem in really the only sensible way I can imagine, but I
think what you're saying is "it's too much" - and - is there a lesser
thing, something maybe underneath that proposal which just offers this
part.  That's why I say, kind of a "fragment root" of which maybe if we get
to shadow dom it could be a special type of?  I guess you're not proposing
that but I am saying "what about a proposal like that" would it answer your
concerns?


>
> --
> https://annevankesteren.nl/
>



-- 
Brian Kardell :: @briankardell :: hitchjs.com
Received on Friday, 9 January 2015 15:57:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC