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

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