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

Re: [matrix][cssom-view] DOMPoint, DOMPointLiteral definitions

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 25 Sep 2013 10:28:14 +1000
Message-ID: <52422E1E.9080606@mcc.id.au>
To: Simon Pieters <simonp@opera.com>
CC: Dirk Schulze <dschulze@adobe.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
Simon Pieters wrote:
> Or just
> DOMPoint transformPoint(DOMPointLiteral point);
> This was already discussed:
> http://www.w3.org/mid/CAAWBYDDF1fRrJj08AvFARfCstkQfgg=RH85n-UPh3ZZ_fjc2wA@mail.gmail.com

Of course.  I should know that. ;)

As for Dirk's question on whether you would ever want to get a plain 
object back from transformPoint, and not an instance of DOMPoint, I 
can't think why that'd be useful.  (It would be different, of course, as 
you'd be able to assign to .x without the type coercion happening, but 
why would you need to be able to do that?)
Received on Wednesday, 25 September 2013 00:29:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC