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

Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

From: Simon Pieters <simonp@opera.com>
Date: Fri, 20 Sep 2013 22:17:03 +0200
To: "Robert O'Callahan" <robert@ocallahan.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "Simon Fraser" <smfr@me.com>, "Andrew Dupont" <w3@andrewdupont.net>, www-style <www-style@w3.org>
Message-ID: <op.w3p7ypjdidj3kv@simons-macbook-pro.local>
On Fri, 20 Sep 2013 19:11:34 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  

>>> For DOMQuad:
>>> [Constructor(DOMRect rect),
>>>  Constructor(DOMPoint p1, DOMPoint p2, DOMPoint p3, DOMPoint p4)]
>> For this constructor we have to decide whether the DOMPoints are  
>> adopted or
>> copied, i.e. whether (new DOMQuad(a,b,c,d)).p1 == a. I say copied, i.e.  
>> not
>> equal, but I don't have a strong feeling about it.
> Yeah, copied.  Unless there's a performance reason to have them be the
> same, so you don't generate extra objects?

I thought we wanted DOMPointLiteral (dictionary) as input type, and  
DOMPoint (interface) as return type?

Simon Pieters
Opera Software
Received on Friday, 20 September 2013 20:17:35 UTC

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