W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 28 Aug 2013 17:48:53 -0700
Message-ID: <CAAWBYDChYC+W80AcGq8yWFgW_H-WAXrvAj67jJnr7LoSJt2F9g@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
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.


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:14 UTC