W3C home > Mailing lists > Public > www-svg@w3.org > December 2013

Re: Relaxing SVGList* item object equality in Blink/Chromium

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 12 Dec 2013 18:34:47 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Kouhei Ueno <kouhei@google.com>, www-svg <www-svg@w3.org>
Message-ID: <BC35E612-D2BF-45DB-81B6-70472F9A2D82@adobe.com>

On Dec 12, 2013, at 6:35 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> On 12/12/13 12:17 AM, Boris Zbarsky wrote:
>> On 12/11/13 11:31 PM, Kouhei Ueno wrote:
>>> Actually, indexed getters on SVG*List are not supported yet in the
>>> current Blink implementation, but the refactoring plan is to have
>>> "list[0] !== list[0]", as it falls back to implementation of
>>> getItem().
>> 
>> That seems pretty bad to me, for whatever that's worth, just in terms of
>> what a consumer would expect out of a "list"....
> 
> And I have to admit I don't quite understand why you want to make this quite odd change.  Is there a concise explanation of your motivation somewhere?

Liveness of objects can be hard to deal with. Especially when you have different restrictions on the same kind of object. Not even Firefox handles all cases very well :). Example: items on SVGTransformList are editable for transform.animVal but shouldn’t.

Greetings,
Dirk

> 
> -Boris
> 
> 
Received on Thursday, 12 December 2013 18:35:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:49 UTC