- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Tue, 22 Oct 2013 20:20:59 +0100
- To: Ryosuke Niwa <rniwa@apple.com>
- Cc: Glenn Maynard <glenn@zewt.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, whatwg <whatwg@lists.whatwg.org>, Tim Streater <tim@clothears.org.uk>, Boris Zbarsky <bzbarsky@mit.edu>, Ian Hickson <ian@hixie.ch>
On Tue, Oct 22, 2013 at 7:42 PM, Ryosuke Niwa <rniwa@apple.com> wrote: > On Oct 22, 2013, at 4:00 AM, Anne van Kesteren <annevk@annevk.nl> wrote: >> So do you think we should add getElementById() to ParentNode in DOM? > > Why not to Element? ParentNode encompasses Document, DocumentFragment, and Element. See http://dom.spec.whatwg.org/#parentnode I think features that make sense on Document and Element should also be on DocumentFragment, unless they're really not applicable for some reason. -- http://annevankesteren.nl/
Received on Tuesday, 22 October 2013 19:21:25 UTC