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

Re: [webcomponents] Encapsulation and defaulting to open vs closed (was in www-style)

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Tue, 11 Feb 2014 15:29:18 -0800
Message-ID: <CADh5Ky3BBZzqSt6SpatzSAFD0qJZ_OJmNA-6d7ny-Xm5RP0mPA@mail.gmail.com>
To: Arthur Barstow <art.barstow@nokia.com>
Cc: "public-webapps@w3.org WG" <public-webapps@w3.org>
On Mon, Feb 10, 2014 at 11:08 AM, Arthur Barstow <art.barstow@nokia.com>wrote:

> On 2/6/14 9:06 PM, ext Ryosuke Niwa wrote:
>
>> Could chairs of the working group please clarify whether we have had a
>> reach of consensus on the default encapsulation level in shadow DOM?
>>
>
> As described in [WorkMode], WebApps' asynchronous participation and edit
> first "work modes" means group members must actively participate on the
> list and actively file bugs and participate in bug reports. We also expect
> both Editors and group participants to work toward obtaining broad
> consensus as described in the charter [Decisions].
>
>
>
>  More concretely, have we _decided_ that we only want Type 1 encapsulation
>> for the level 1 specifications of Web components instead of Type 2 or Type
>> 1 and Type 2 encapsulations as defined in Maciej's email sent out in June
>> 29th, 2011:
>> http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/1364.html
>>
>> I don't recall any consensus being reached about this matter.
>>
>> In fact, http://lists.w3.org/Archives/Public/public-webapps/
>> 2012OctDec/thread.html#msg312
>> (referred by http://lists.w3.org/Archives/Public/www-style/2014Feb/0221.
>> html)
>> clearly shows the lack of consensus in my eyes as both Boris Zbarsky from
>> Mozilla and Maciej Stachowiak from Apple have voiced to prefer Type 2
>> encapsulation:
>>
>> http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0406.html
>> http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0421.html
>> http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0628.html
>>
>> while representatives of Google preferring Type 1 encapsulations.
>>
>
> I agree the threads started by Maciej at [1364.html] and Dimitri at
> [0312.html] do not appear to have reached broad consensus. (I am not
> subscribed to www-style so I haven't followed those discussions.)
>

FWIW, the story is not complete without
http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/thread.html#msg800,
which indicates a higher degree of consensus. Right?



> Dimitri, Maciej, Ryosuke - is there a mutually agreeable solution here?
>

I am exactly sure what problem this thread hopes to raise and whether there
is a need for anything other than what is already planned.

The plan is, per thread I mentioned above, is to add a flag to
createShadowRoot that hides it from DOM traversal APIs and relevant CSS
selectors: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20144.

:DG<
Received on Tuesday, 11 February 2014 23:29:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:21 UTC