mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add constructors for typed arrays in DOMMatrix and DOMMatrixReadOnly
This commit is contained in:
parent
18ef5874dd
commit
6d08027890
7 changed files with 328 additions and 431 deletions
|
@ -17,8 +17,8 @@
|
|||
interface DOMMatrix : DOMMatrixReadOnly {
|
||||
|
||||
[NewObject, Throws] static DOMMatrix fromMatrix(optional DOMMatrixInit other);
|
||||
// [NewObject] static DOMMatrix fromFloat32Array(Float32Array array32);
|
||||
// [NewObject] static DOMMatrix fromFloat64Array(Float64Array array64);
|
||||
[NewObject, Throws] static DOMMatrix fromFloat32Array(Float32Array array32);
|
||||
[NewObject, Throws] static DOMMatrix fromFloat64Array(Float64Array array64);
|
||||
|
||||
// These attributes are simple aliases for certain elements of the 4x4 matrix
|
||||
inherit attribute unrestricted double a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue