Re: [geometry] DOMRectList with legacy

On Jul 17, 2014, at 10:08 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Thu, Jul 17, 2014 at 8:07 AM, Dirk Schulze <dschulze@adobe.com> wrote:
>> 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.
> 
> I'm still not convinced [ArrayClass] is a good idea if long term we
> only want subclassing. Adding [ArrayClass] to a few legacy classes
> does not help much. They should all have iterator support though. Not
> exposing the interface still seems like a good idea as well as
> renaming it to Legacy*.

As WebIDL, I suppose you mean

[NoInterfaceObject]
interface DOMRectList : Array {
    getter DOMRect item(unsigned long index);
};

Greetings,
Dirk

> 
> 
> -- 
> http://annevankesteren.nl/

Received on Thursday, 17 July 2014 11:07:16 UTC