W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 25 Jul 2013 09:04:08 -0700
Message-ID: <51F14C78.7070502@mit.edu>
To: whatwg@lists.whatwg.org
On 7/24/13 5:51 PM, James Greene wrote:
> While I'm not familiar with the spec for DocumentFragments, I've always
> consider them to be more equivalent to a detached element node than a
> document node.

Fwiw, Element has a getElementsByClassName and getElementsByTagName.

And SVGElement has getElementById.

-Boris
Received on Thursday, 25 July 2013 16:04:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC