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

Re: Shadow tree style isolation primitive

From: Brian Kardell <bkardell@gmail.com>
Date: Mon, 12 Jan 2015 17:37:47 -0500
Message-ID: <CADC=+jcUApYUFdBTG8QO347VR5DYGUst+k0z-V2zPYFZCut7Cg@mail.gmail.com>
To: Ryosuke Niwa <rniwa@apple.com>
Cc: Chaals from Yandex <chaals@yandex-team.ru>, Anne van Kesteren <annevk@annevk.nl>, "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
On Mon, Jan 12, 2015 at 5:18 PM, Ryosuke Niwa <rniwa@apple.com> wrote:

> [snip]
> I agree that having both style isolation and subtree isolation is
> desirable in some use cases such as Web app widgets.  However, there are
> other use cases for which style isolation without subtree isolation is
> desirable in non-App Web documents.
> - R. Niwa
> Can you share such a case? If you're worried about CSS selectors 'bleeding
through' how do functional selectors not have precisely the same concerns?
I'm not saying it doesn't exist, I'm saying that I am having trouble
envisioning it and would like some more information.  It does seem to me
that both sorts of isolation naturally 'fall out' of simply having a
connector of trees that isn't using parent/child pointers and that most
things would "just work" and be easy to explain (as a thing on its own and
to use to build up higher features) which is an aspect I am having trouble
seeing in nearly all other proposals.  Once again, I'm not saying it's not
there, I'm just asking for someone to explain/show me.

Brian Kardell :: @briankardell :: hitchjs.com
Received on Monday, 12 January 2015 22:38:14 UTC

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