mirror of
https://github.com/servo/servo.git
synced 2025-07-13 18:33:40 +01:00
Expose DOMMatrix in Window and Worker
This commit is contained in:
parent
b3cdcfaa39
commit
6210bede8b
3 changed files with 8 additions and 8 deletions
|
@ -11,10 +11,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Constructor,
|
[Constructor,
|
||||||
// Constructor(DOMString transformList),
|
// Constructor(DOMString transformList),
|
||||||
Constructor(sequence<unrestricted double> numberSequence)
|
Constructor(sequence<unrestricted double> numberSequence),
|
||||||
// Exposed=(Window,Worker)
|
Exposed=(Window,Worker)]
|
||||||
]
|
|
||||||
interface DOMMatrix : DOMMatrixReadOnly {
|
interface DOMMatrix : DOMMatrixReadOnly {
|
||||||
|
|
||||||
[NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other);
|
[NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other);
|
||||||
|
|
|
@ -11,10 +11,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[Constructor,
|
[Constructor,
|
||||||
// Constructor(DOMString transformList)
|
// Constructor(DOMString transformList)
|
||||||
Constructor(sequence<unrestricted double> numberSequence),
|
Constructor(sequence<unrestricted double> numberSequence),
|
||||||
// Exposed=(Window,Worker)
|
Exposed=(Window,Worker)]
|
||||||
]
|
|
||||||
interface DOMMatrixReadOnly {
|
interface DOMMatrixReadOnly {
|
||||||
|
|
||||||
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);
|
[NewObject, Throws] static DOMMatrixReadOnly fromMatrix(optional DOMMatrixInit other);
|
||||||
|
|
|
@ -11,6 +11,8 @@ test_interfaces([
|
||||||
"Blob",
|
"Blob",
|
||||||
"CloseEvent",
|
"CloseEvent",
|
||||||
"CSSStyleDeclaration",
|
"CSSStyleDeclaration",
|
||||||
|
"DOMMatrix",
|
||||||
|
"DOMMatrixReadOnly",
|
||||||
"DOMPoint",
|
"DOMPoint",
|
||||||
"DOMPointReadOnly",
|
"DOMPointReadOnly",
|
||||||
"DOMQuad",
|
"DOMQuad",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue