- From: <bugzilla@jessica.w3.org>
- Date: Thu, 11 Dec 2014 14:59:32 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27569 Bug ID: 27569 Summary: Move getElementsBy* to ParentNode? Product: WebAppsWG Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: DOM Assignee: annevk@annevk.nl Reporter: philipj@opera.com QA Contact: public-webapps-bugzilla@w3.org CC: mike@w3.org, www-dom@w3.org https://dom.spec.whatwg.org/#interface-document In the spec getElementsByTagName, getElementsByTagNameNS and getElementsByClassName are on Document and Element separately. They're also on ShadowRoot, which inherits from DocumentFragment: http://w3c.github.io/webcomponents/spec/shadow/#shadowroot-object Putting it on ParentNode seems like a simplification, and that's also where querySelector and querySelectorAll live. The observable difference would be that getElementsBy* become usable on non-ShadowRoot DocumentFragments. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 11 December 2014 14:59:35 UTC