W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

Re: Support getElementById and other methods of ShadowRoot on DocumentFragment

From: Elliott Sprehn <esprehn@gmail.com>
Date: Fri, 29 Jun 2012 11:39:48 -0700
Message-ID: <CAPJYB1hEeAhuGERKHrD-zS0cxkF5qwum_GmPXJ=rS0o=+cRJmQ@mail.gmail.com>
To: Ryosuke Niwa <rniwa@webkit.org>
Cc: www-dom <www-dom@w3.org>
On Fri, Jun 29, 2012 at 11:25 AM, Elliott Sprehn <esprehn@gmail.com> wrote:

>
>
>> ...
>>
>
> Ah sorry I was confused. Yes, I'm suggesting we remove these methods from
> ShadowRoot and move them to DocumentFragment. If they're useful on
> ShadowRoot then they're just as useful on DocumentFragments.
>
> It's also important with things like the proposed <template> element that
> would create a DocumentFragment.
>
>
Also WebKit already has these methods on DocumentFragments they're just not
exposed in the IDL.

DocumentFragment extends ContainerNode which extends Node.

- E
Received on Friday, 29 June 2012 18:40:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 June 2012 18:40:41 GMT