Re: Support getElementById and other methods of ShadowRoot on DocumentFragment

On Fri, Jun 29, 2012 at 8:03 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
> DocumentFragment has querySelector and friends, but doesn't have
> getElementById or getElementByClass etc. Because of this the methods were
> explicitly added to ShadowRoot which seems kind of silly. There's also
> innerHTML on ShadowRoot but not on DocumentFragment.
>
> https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-root-object
>
> Could we get these methods added to DocumentFragment instead?

I think we should remove all those things from ShadowRoot instead and
filed a bug on that a while ago.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16904


-- 
http://annevankesteren.nl/

Received on Saturday, 30 June 2012 08:29:01 UTC