W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: Encapsulation and defaulting to open vs closed (was Re: Shadow DOM Encapsulation)

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 06 Feb 2014 16:23:27 -0800
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-id: <ABEEDE93-D3C0-4DDE-ACFB-3058A4FF51B0@apple.com>
To: Dimitri Glazkov <dglazkov@google.com>

On Feb 6, 2014, at 3:24 PM, Dimitri Glazkov <dglazkov@google.com> wrote:

> On Thu, Feb 6, 2014 at 3:06 PM, Maciej Stachowiak <mjs@apple.com> wrote:
> [1]  In fact, the original agreement on the thread was to support both "public" and "private", in the sense that components could fully expose their shadow innards or not, and then the default could be decided. Dmitri even agreed to add support for a flag to decide this, but never did: <http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0612.html>.
> It doesn't mean I don't want to solve the problem. And the statements Shadow DOM being designed in a way that Type 2 encapsulation is not possible -- those are simply not true. The whole thing was carefully designed in a way to keep this option an incremental evolutionary step.

How is it possible to verify that without having spec'd or built it? Encapsulation is not something you can just easily bolt on. And it's pretty clear to me that the ^ and ^^ proposed selector combinators are designed with no consideration whatsoever to Type 2 encapsulation.

Received on Friday, 7 February 2014 00:24:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:18 UTC