RE: Elements array and query/queryAll methods
Domenic Denicola <[email protected]>
| Newsgroups | gmane.comp.web.dom.general |
|---|---|
| Message-ID | <3b878b8079d74b42b55207079222c936@BN1PR05MB325.namprd05.prod.outlook.com> |
From: Domenic Denicola <[email protected]> > The spec covers this. They are ignored. Apologies; this may not be accurate. I remember that being the consensus some time ago, and I think I remember reading spec text to that effect. But it seems either my memory is faulty or the spec has changed recently; I am no longer as familiar with the algorithms deployed for selector matching etc. in this area. In any case, the two coherent options are either (a) ignore them; or (b) throw a TypeError, since they have no `querySelectorAll` (or [[QuerySelectorAll]]) method to call.