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: Elliott Sprehn <esprehn@chromium.org>
Date: Fri, 14 Feb 2014 17:54:40 -0800
Message-ID: <CAO9Q3i+UwLr9hUO_ck0fAYMdfaKnqy7k0--JWnY9EURB4uTo5g@mail.gmail.com>
To: Alex Russell <slightlyoff@google.com>
Cc: Ryosuke Niwa <rniwa@apple.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-webapps <public-webapps@w3.org>
On Fri, Feb 14, 2014 at 5:17 PM, Alex Russell <slightlyoff@google.com>wrote:

> On Fri, Feb 14, 2014 at 3:56 PM, Ryosuke Niwa <rniwa@apple.com> wrote:
>> [...]

>  We all agree it's not a security boundary and you can go through great
>> lengths to get into the ShadowRoot if you really wanted, all we've done by
>> not exposing it is make sure that users include some crazy
>> jquery-make-shadows-visible.js library so they can build tools like Google
>> Feedback or use a new framework or polyfill.
>> I don’t think Google Feedback is a compelling use case since all
>> components on Google properties could simply expose “shadow” property
>> themselves.
> So you've written off the massive coordination costs of adding a uniform
> to all code across all of Google and, on that basis, have suggested there
> isn't really a problem? ISTM that it would be a multi-month (year?) project
> to go patch every project in google3 and then wait for them to all deploy
> new code.
> Perhaps you can imagine a simpler/faster way to do it that doesn't include
> getting owners-LGTMs from nearly every part of google3 and submitting tests
> in nearly every part of the tree??

Please also note that Google Feedback's screenshot technology works fine on
many non-Google web pages and is used in situations that are not on Google
controlled properties. If we're going to ask the entire web to expose
".shadow" by convention so things like Google Feedback or Readability can
work we might as well just expose it in the platform.

- E
Received on Saturday, 15 February 2014 01:55:53 UTC

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