W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: Component Model: Landing Experimental Shadow DOM API in WebKit

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Wed, 29 Jun 2011 10:17:47 -0700
Message-ID: <CADh5Ky2RVyBWWPSj+aWob+qSm8k03VmQTfTs+4=QpVS=X_1YLA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps@w3.org, Cameron McCormack <cam@mcc.id.au>
+cam, in case his mail filters are haters.

:DG<

On Wed, Jun 29, 2011 at 10:17 AM, Dimitri Glazkov <dglazkov@chromium.org> wrote:
> On Wed, Jun 29, 2011 at 10:14 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> On 6/29/11 12:59 PM, Dimitri Glazkov wrote:
>>
>>> It will just return null when the membrane is in place.
>>
>> OK.  And the encapsulation will prevent other ways of getting at the shadow
>> tree?
>
> Yes! element.shadow is the only way to access shadow content. All
> other plumbing (like events retargeting) ensures there's no exposure.
>
>>
>>> Ah yes -- I didn't know how to express this in IDL. The Node comes to
>>> Document by way of TreeScope.
>>
>> Document directly inherits from Node.
>>
>> It sounds like what you really want to do is change Document to inherit from
>> TreeScope instead.... or make TreeScope not inherit from Node.
>
> The former: http://codesearch.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/dom/Document.h&l=208
>
>>
>> -Boris
>>
>
Received on Wednesday, 29 June 2011 17:18:13 GMT

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