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/#DOMPoint Constructor(optional DOMPointInit point) and Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, optional unrestricted double z = 0, optional unrestricted double w = 1) I noticed this in https://codereview.chromium.org/956203002/ The reviewers say it's a spec bug: https://codereview.chromium.org/956203002/#msg3 https://codereview.chromium.org/956203002/#msg10 That last comment also suggests a fix: "make the DOMPointInit argument non-optional, and leave all the coordinate arguments to the other constructor optional (with default values.)"
It seems this bug was introduced in http://hg.fxtf.org/drafts/rev/74cc13fc8ec8 Dirk, what was the rationale behind the change? I think the previous spec with x,y non-optional is better. This way you know that one-argument invocation is with a dictionary.
http://hg.fxtf.org/drafts/rev/4da512e71638
Looks like this changed again, now it's static fromPoint methods instead...
Yes, see https://lists.w3.org/Archives/Public/public-fx/2015JanMar/0129.html and other messages in that thread.