W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Component Model Update

From: John J Barton <johnjbarton@johnjbarton.com>
Date: Wed, 24 Aug 2011 14:50:30 -0700
Message-ID: <CAFAtnWyZ-TbDZOUkE8Sof-4bnO+7jHDgD0+fdvqVf96egACH5g@mail.gmail.com>
To: Dominic Cooney <dominicc@google.com>
Cc: Dimitri Glazkov <dglazkov@chromium.org>, Adam Barth <w3c@adambarth.com>, public-webapps <public-webapps@w3.org>, Maciej Stachowiak <mjs@apple.com>, Jonas Sicking <jonas@sicking.cc>, Boris Zbarsky <bzbarsky@mit.edu>
On Wed, Aug 24, 2011 at 2:30 PM, Dominic Cooney <dominicc@google.com> wrote:

> On Thu, Aug 25, 2011 at 2:03 AM, Dimitri Glazkov <dglazkov@chromium.org>
> wrote:
> > Yes, shadow DOM gives the author an extra lever to control visibility
> > and hackability of their code. It's up to them to use this lever
> > wisely.
>

Maybe I grew up on to much Web koolaid, but browsers should be giving all
extra levers to users. In real life control in the hand of "authors" means
control in the hands of suits and suits will always pick the "hide all"
setting.


> This is not without precedent. Just like authors who choose to
> > use canvas to build their entire applications are shutting the door
> > (intentionally or not) on extensions, I bet we'll also see these
> > extremes with the Component Model.
>

In the case of canvas the reason is technical inferiority, the medium is
write only. Component Model has not such technical limit.


> However, I am also sure that a lot
> > of authors will see value in retaining composability for extensions.
> > If anything, shadow DOM can help authors draw proper composability
> > boundaries and thus inform extensions developers where tweaking is ok
> > and where may cause explosions.
>

Again, that's old school.

Independent of our different point of view on control, shadow DOM needs
debug APIs. So much the better if these are available to extensions.

jjb
Received on Wednesday, 24 August 2011 21:50:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT