W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2014

Re: [geometry] DOMRectList with legacy

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 17 Jul 2014 11:06:44 +0000
To: Anne van Kesteren <annevk@annevk.nl>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>, FX <public-fx@w3.org>
Message-ID: <7DDDBBD2-1963-438A-964A-E66D0172D50C@adobe.com>

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:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:52 UTC