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

Re: [cssom-view] Ability to replace points of a DOMQuad

From: Simon Pieters <simonp@opera.com>
Date: Thu, 26 Sep 2013 21:06:58 +0200
To: www-style@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <op.w308pwbmidj3kv@simons-macbook-pro.local>
On Thu, 26 Sep 2013 20:02:14 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 9/26/13 1:56 PM, Tab Atkins Jr. wrote:
>
>> I vote yes, and (a).

Rationale?

> The last time I brought up the issue of getters and setters having  
> different types on public-script-coord people seemed opposed to the  
> magic, fwiw.

Do you have a pointer?


I'll note that it's possible to do

[quad.p1.x, quad.p1.y] = [10, 20];

which is not magic and maybe convenient enough?

-- 
Simon Pieters
Opera Software
Received on Thursday, 26 September 2013 19:07:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:34 UTC