This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dev.w3.org/fxtf/geometry/#DOMQuad [[ [Constructor(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4 ]] Add example where DOMPoint objects are passed as argument. This would make it clear that WebIDL can handle DOMPoint and DOMPointInit here.
Added an example.
var rect = new DOMRect(2, 0, 10, 10); Shouldn't the third argument be 12?
(In reply to Simon Pieters from comment #2) > var rect = new DOMRect(2, 0, 10, 10); > > Shouldn't the third argument be 12? Why? DOMRect gets the arguments x,y,width and height. 10,10 is correct.
Oops, sorry. :-)