[geometry] DOMRectList with legacy

Hi,

Geometry Interfaces describes an interface for a list of DOMRects called DOMRectList[1]. DOMRectList is legacy and implemented as ClientRectList in some browsers (without constructor).

One reviewer feedback was that it should be more Array like[2]. So there are two possibilities 
1) Make it a subclass of Array
2) Make it an [ArrayClass]

Another proposal was making DOMRectList an [NoInterfaceObject][3].

Furthermore, it was suggested[3] not to use this kind of interface in other places and clearly mark it as legacy.

s/DOMRectList/LegacyDOMRectList/

I go with [ArrayClass] and will add the change to the spec soon. We can rename it to LegacyDOMRectList. A note about it’s legacy state should definitely be added though.

Greetings,
Dirk

[1] http://dev.w3.org/fxtf/geometry/#DOMRectList
[2] https://www.w3.org/Bugs/Public/show_bug.cgi?id=26200#c0
[3] https://www.w3.org/Bugs/Public/show_bug.cgi?id=26200#c4

Received on Thursday, 17 July 2014 06:08:10 UTC