[Bug 27688] New: Odd comment in DOM spec about the new "Elements" class
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <[email protected]/Bugs/Public/> |
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27688
Bug ID: 27688
Summary: Odd comment in DOM spec about the new "Elements" class
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DOM
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
https://dom.spec.whatwg.org/#collections:-elements
[[
Elements is an ES6-style subclass of Array with two additional methods. It's
the new NodeList / HTMLCollection.
]]
How can a class named "Elements" legitimately replace the NodeList interface,
when, in additions to Elements, a NodeList can also contain Text nodes and
Comments etc?
There are comments throughout the spec about "historical artifacts" that "we
cannot rid the web of" and yet this seems like another one in the making...
--
You are receiving this mail because:
You are on the CC list for the bug.