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

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