Re: [CSSOM] Revisiting transforms and getBoundingClientRect()

On Fri, 20 Sep 2013 19:11:34 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

>>> 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