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

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