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

Re: Support getElementById and other methods of ShadowRoot on DocumentFragment

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sat, 30 Jun 2012 10:28:33 +0200
Message-ID: <CADnb78jU-UBLuQ2bZbE-0sgKRF8DFhaEHTtMY7bhaHr38PT4NA@mail.gmail.com>
To: Elliott Sprehn <esprehn@gmail.com>
Cc: www-dom <www-dom@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 30 June 2012 08:29:07 GMT