W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2014

[Bug 27688] New: Odd comment in DOM spec about the new "Elements" class

From: <bugzilla@jessica.w3.org>
Date: Tue, 23 Dec 2014 21:53:26 +0000
To: www-dom@w3.org
Message-ID: <bug-27688-4009@http.www.w3.org/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: annevk@annevk.nl
          Reporter: xuzepa@alivance.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org

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.
Received on Tuesday, 23 December 2014 21:53:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:23 UTC