W3C home > Mailing lists > Public > public-html@w3.org > April 2014

Elements array and query/queryAll methods

From: Eric Devine <devineej@gmail.com>
Date: Mon, 7 Apr 2014 13:09:05 -0400
Message-ID: <CAGYLO0LU1m0J9dw_-JvLmN44wCYdqqqFk25LHzNM-6tmRftAjw@mail.gmail.com>
To: public-html@w3.org

I'm looking any resources that elaborate on the Elements collection and the
query and queryAll methods of the ParentNode interface.

My understanding:

   - Elements is a subclass of Array, so we have all the mutator functions
   the HTMLCollection and NodeList lack.
   - query and queryAll allow CSS combinators to be used with the node they
   are invoked on.
   - query and queryAll return Elements collection.


   - What use cases is Elements intended to solve the NodeList and
   HTMLCollection aren't suited for?
   - What other functions return an Elements object?
   - Will there be a "live" Elements array?
   - Is Elements intended to replace the use of NodeList and HTMLCollection?
   - Where can I find the UA implementation status for these features?
   - Does anyone know of a polyfill for either?

Thanks in advance for anyone who is able to point me in the right
direction. I haven't been able to find anything other than the specs I
linked to above.

- Eric Devine
Received on Monday, 7 April 2014 17:09:33 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:38 UTC