[dom] Is the NodeList interface being deprecated?
Šime Vidas <[email protected]> Sun, 17 May 2015 02:10:03 +0200
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CAF=ZmuznUeMbhxBmmLrSXHe_XFs10O7gJjaDfQcnsm19W5pmUQ@mail.gmail.com> |
The latest /TR/2015/WD-dom-20150428/ spec mentions that the new Elements interface is “the new NodeList”. Could you elaborate on that? Is it meant as a **complete** replacement (effectively making NodeList legacy)? I’m interested in the scenario of proposing new standard APIs which would make performing operations on a set of DOM elements easier (think jQuery), and creating a prollyfill to enable such functionality in today’s browsers. Should such work be performed on Elements.prototype instead of NodeList.prototype?