Skip to content

Commit 855b622

Browse files
zcorpansvgeesus
authored andcommitted
Revert IDL for DOMPoint constructor; x and y should be required to disambiguate. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108
1 parent d6bfea2 commit 855b622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geometry/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ interface DOMPointReadOnly {
5757
};
5858

5959
[Constructor(optional DOMPointInit point),
60-
Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
60+
Constructor(unrestricted double x, unrestricted double y,
6161
optional unrestricted double z = 0, optional unrestricted double w = 1),
6262
Exposed=(Window,Worker)]
6363
interface DOMPoint : DOMPointReadOnly {

0 commit comments

Comments
 (0)