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 18:16:05 -0800
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
Message-id: <0D3DE9C2-6765-430F-9ABD-453577EBA62A@apple.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Feb 6, 2014, at 6:03 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Thu, Feb 6, 2014 at 5:45 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> On 2/6/14 8:28 PM, Tab Atkins Jr. wrote:
>>> Of course it's possible to build Type 2 on top of Type 1 - just delete
>>> or override the .shadowRoot accessor from the element.
>> 
>> That's not true given querySelector("foo ^^ bar"), as far as I can tell,
>> which was what Maciej was saying about the proposed default behavior of ^^.
> 
> It's not true if Maciej's Type 2 is used, either, at least as it's
> been proposed before.

Type 2 is meant to be a general property that proposals may or may not have, not a specific technical proposal to achieve this property. The definition of ^^ and ^ is not compatible with any components having Type 2 encapsulation as currently written.

Regards,
Maciej
Received on Friday, 7 February 2014 02:16:33 UTC

This archive was generated by hypermail 2.3.1 : Friday, 7 February 2014 02:16:33 UTC