Re: Elements array and query/queryAll methods
Anne van Kesteren <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <CADnb78g329E-BXYOE57-dDLgmmK_PvrmPgdJ8bDzu=Gx5S2d3w@mail.gmail.com> |
On Tue, Apr 8, 2014 at 8:13 PM, Domenic Denicola <[email protected]> wrote: > Hmm, perhaps I misunderstood---I thought you were talking about creating duplicates via `push` etc., but it sounds like you are worried about duplicates in the result of `queryAll`? If so, then yes, I agree there should not be duplicates in that result. It may be a mismatch between my "polyfill" (which was meant to be more illustrative than anything) versus the actual spec. How does it return duplicates? That would be rather strange. There is a problem at the moment with Elements.prototype.query() and queryAll() not doing proper filtering. Mostly awaiting some proper hooks for that and the arrival of subclassing in general. -- http://annevankesteren.nl/