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

RE: Elements array and query/queryAll methods

From: Travis Leithead <travis.leithead@microsoft.com>
Date: Tue, 8 Apr 2014 06:30:50 +0000
To: Eric Devine <devineej@gmail.com>, "public-html@w3.org" <public-html@w3.org>, Anne van Kesteren <annevk@annevk.nl>
Message-ID: <4bd0d78e4b4945849a285bd8337b4c71@BLUPR03MB344.namprd03.prod.outlook.com>
+ Anne for comment.

I'm not aware of any implementations of this yet.. though :scope has at least one implementation...

Sent from my Windows Phone
From: Eric Devine
Sent: 4/7/2014 10:11 AM
To: public-html@w3.org
Subject: Elements array and query/queryAll methods


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 Tuesday, 8 April 2014 06:31:20 UTC

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