- From: Maciej Stachowiak <mjs@apple.com>
- Date: Tue, 14 Jul 2009 01:03:01 -0700
On Jul 13, 2009, at 11:55 PM, Boris Zbarsky wrote: > Ian just pointed out to me that his current draft requires > HTMLCollections to implement a tags() method (which seems to do a > filter by tagName on the contents of the collection). > > As far as I can tell, IE, Webkit, and Opera implement this; Gecko > does not. I was wondering whether any of the Webkit or Opera folks > could comment on _why_ they implement this? I haven't seen any uses > of this in the wild (outside document.all.tags, but document.all > doesn't behave like a normal HTMLCollection in all sorts of other > ways either). > > I'd rather be specifying (and implementing) a smaller DOM API, if > that's all that's needed for actual web compat.... Support for HTMLCollection.tags() in WebKit predates the fork from KHTML. So we don't know why it was originally added. Regards, Maciej
Received on Tuesday, 14 July 2009 01:03:01 UTC