W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

TPAC F2F DOM2 Selectors API review

From: Alex Russell <slightlyoff@google.com>
Date: Tue, 30 Oct 2012 10:36:49 +0100
Message-ID: <CANr5HFUfnA_DHvuQC99G8z5Z0c4OCrm=GtNC+YyhSHE_0+quNg@mail.gmail.com>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: Erik Aarvidson <arv@google.com>, odinho@opera.com, Yehuda Katz <wycats@gmail.com>, Mark Miller <erights@google.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Hi Everyone,

So today at TPAC there was a brief discussion about Selectors 2 -- and good
news, everybody! We've settled on "find", "findAll", and "matches"!

The return type is still the issue, however, and I proposed the following

   - We specify the DOM APIs which vend node lists which must be immutable
   or mutated only by DOM (a.k.a. "live node lists") from existing APIs as
   either seal()/freeze() instances or as Proxies. That allows the vending
   APIs to maintain the invariants regardless of what NodeList as a class does
   - We define NodeList as a constructable class which derives from Array,
   is mutable by default, etc.

Any obvious holes?

Received on Tuesday, 30 October 2012 09:37:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC