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.


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:00 UTC