Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

On Wed, Aug 28, 2013 at 5:33 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 8/28/13 6:52 PM, Tab Atkins Jr. wrote:
>> The QuadList interface is terrible. :/  We have better ways to do this
>> in WebIDL now - make it an [ArrayClass].
>
> All making it ArrayClass does is hook it up to Array.prototype.  You still
> need the indexed getter and unsigned long length attribute...  So the
> interface is not particularly terrible.

It's the "not hooked up to Array.prototype" part that's terrible. ^_^
You lack all of the Array methods!

Also, .item() is weird when you have [].

>> (Maybe we can change ClientRectList as well?)
>
> I think making pretty much every arraylike without a named getter be
> ArrayClass is totally reasonable.

Yes!

~TJ

Received on Thursday, 29 August 2013 00:49:40 UTC