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

Re: Transformed Pointer Coordinates?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Feb 2013 21:35:03 -0500
Message-ID: <5119AA57.3040604@mit.edu>
To: Dirk Schulze <dschulze@adobe.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 2/11/13 9:28 PM, Dirk Schulze wrote:
> It was a request by web authors to allow simple ways to pass points. Dictionaries are very popular for web developers: foo({x: 20, y: 20, z: 0}) is more likely to be excepted than foo(new DOMPath(20,20,0)).

OK.  Note that this can also be handled via having overloads that take 
dictionaries and interfaces, if you just want to allow passing both.

But yeah, using a dictionary plays nicer with pure-JS code in some ways...

Received on Tuesday, 12 February 2013 02:35:36 UTC

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