[fxtf-drafts] [css-geometry] Please update to Web IDL changes to optional dictionary defaulting (#356)

bzbarsky has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [css-geometry] Please update to Web IDL changes to optional dictionary defaulting ==
Web IDL recently changed to require explicitly listing a default value for defaulted dictionaries instead of it just magically happening.

In practice what that means is that APIs like this:
```
 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other);
```
need to be written like this instead:
```
 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
```
(with the addition of `= {}` on the dictionary argument).  This affects a bunch of the geometry APIs.

See https://github.com/heycam/webidl/pull/750 for details.

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/356 using your GitHub account

Received on Friday, 5 July 2019 15:12:13 UTC