W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: [css-regions] Reworking getNamedFlows()

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 29 Jul 2013 10:52:17 -0700
Message-ID: <51F6ABD1.9010706@mit.edu>
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.

Received on Monday, 29 July 2013 17:52:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:13 UTC