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

Re: Shadow tree style isolation primitive

From: Olli Pettay <olli@pettay.fi>
Date: Thu, 05 Feb 2015 02:03:49 +0200
Message-ID: <54D2B365.4010906@pettay.fi>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Brian Kardell <bkardell@gmail.com>, Dimitri Glazkov <dglazkov@google.com>, "www-style@w3.org" <www-style@w3.org>, WebApps WG <public-webapps@w3.org>
On 02/05/2015 01:20 AM, Tab Atkins Jr. wrote:
> You don't need strong isolation primitives to do a lot of good.
> Simple composition helpers lift an *enormous* weight off the shoulders
> of web devs, and make whole classes of bugs obsolete.  Shadow DOM is
> precisely that composition helper right now.  In most contexts, you
> can't ever touch something inside of shadow DOM unless you're doing it
> on purpose, so there's no way to "friendly fire" (as Brian puts it).

If we want to just help with composition, then we can find simpler
model than shadow DOM with its multiple shadow root per host and event handling
oddities and what not. (and all the mess with is-in-doc is still something to be sorted out etc.)




>
> Stronger isolation does solve some problems, sure.  But trying to
> imply that those are the only problems we need to solve,
No one has tried to imply that. I don't know where you got that.
Received on Thursday, 5 February 2015 00:04:17 UTC

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