mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Require default dictionary value for optional dicts
This commit is contained in:
parent
56f31c85ef
commit
01151274f1
71 changed files with 105 additions and 98 deletions
|
@ -14,7 +14,7 @@
|
|||
Exposed=(Window,Worker)]
|
||||
interface DOMMatrixReadOnly {
|
||||
|
||||
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);
|
||||
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other = {});
|
||||
[NewObject, Throws] static DOMMatrixReadOnly fromFloat32Array(Float32Array array32);
|
||||
[NewObject, Throws] static DOMMatrixReadOnly fromFloat64Array(Float64Array array64);
|
||||
|
||||
|
@ -73,12 +73,12 @@ interface DOMMatrixReadOnly {
|
|||
optional unrestricted double angle = 0);
|
||||
DOMMatrix skewX(optional unrestricted double sx = 0);
|
||||
DOMMatrix skewY(optional unrestricted double sy = 0);
|
||||
[Throws] DOMMatrix multiply(optional DOMMatrixInit other);
|
||||
[Throws] DOMMatrix multiply(optional DOMMatrixInit other = {});
|
||||
DOMMatrix flipX();
|
||||
DOMMatrix flipY();
|
||||
DOMMatrix inverse();
|
||||
|
||||
DOMPoint transformPoint(optional DOMPointInit point);
|
||||
DOMPoint transformPoint(optional DOMPointInit point = {});
|
||||
Float32Array toFloat32Array();
|
||||
Float64Array toFloat64Array();
|
||||
// stringifier;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue