- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 20 Sep 2013 13:38:04 -0700
- To: Simon Pieters <simonp@opera.com>
- Cc: "Robert O'Callahan" <robert@ocallahan.org>, Simon Fraser <smfr@me.com>, Andrew Dupont <w3@andrewdupont.net>, www-style <www-style@w3.org>
On Fri, Sep 20, 2013 at 1:17 PM, Simon Pieters <simonp@opera.com> wrote: > 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? Ah, right, and that also answers the question - dictionaries are copied. ~TJ
Received on Friday, 20 September 2013 20:38:50 UTC