- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 29 Jul 2013 10:52:17 -0700
- To: www-style@w3.org
On 7/29/13 6:46 AM, Mihnea-Vlad Ovidenie wrote: > Does the HTMLCollection interface have the same issue? Yes. HTMLCollection as implemented in browsers is a terrible interface that we shouldn't be emulating. It's impossible to extend, because doing so can break pages that use the named getter, some names can never be accessed via the named getter, enumeration is different in different UAs (e.g. per spec and in Gecko both numeric IDs and names are enumerated, in IE only names are enumerated, and in WebKit only IDs are enumerated)... Please don't copy HTMLCollection for any new interfaces. -Boris
Received on Monday, 29 July 2013 17:52:56 UTC