W3C home > Mailing lists > Public > public-html@w3.org > October 2010

getting rid of callers

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 13 Oct 2010 17:14:50 +1300
To: public-html@w3.org
Message-ID: <20101013041450.GC22309@wok.mcc.id.au>
Various HTML*Collection interfaces and the HTMLFormElement interface
define callers.  Callers seem unpopular with many people, so I am
wondering how many can actually be safely removed from the spec.

Here are some tests I ran to see where they’re implemented:

  http://people.mozilla.com/~cmccormack/tests/callers.html
  http://people.mozilla.com/~cmccormack/tests/callers-quirks.html

The results are here:

  http://people.mozilla.com/~cmccormack/tests/callers-results.html

(I left out the HTMLPropertyCollection ones since nobody implements that
yet.)

So of all the callers, Firefox has been getting away with only
implementing document.all("blah"), and only for quirks mode.

For HTMLFormElement, it seems only IE implements them.  Are they really
necessary to have in the spec?

I don’t have any data on any of this.  Does anyone else?  Any browser
vendors willing to drop any of these callers? :)

Also, it seems sad to require callers on HTMLPropertyCollection, before
there are even any implementations.  Can we get rid of them here?  (Only
by not inheriting from HTMLCollection would we truly be rid of them,
though.)

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 13 October 2010 04:15:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:20 UTC