OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // http://dev.w3.org/fxtf/geometry/#DOMMatrix | 5 // http://dev.w3.org/fxtf/geometry/#DOMMatrix |
6 | 6 |
7 [ | 7 [ |
8 Constructor, | 8 Constructor, |
9 Constructor(DOMMatrixReadOnly other), | 9 Constructor(DOMMatrixReadOnly other), |
10 // FIXME: Should implement more constructors (See: crbug.com/388780) | 10 // FIXME: Should implement more constructors (See: crbug.com/388780) |
11 // FIXME: Exposed=(Window,Worker) | 11 // FIXME: Exposed=(Window,Worker) |
12 RuntimeEnabled=GeometryInterfaces, | 12 RuntimeEnabled=GeometryInterfaces, |
| 13 LegacyInterfaceTypeChecking, |
13 ] interface DOMMatrix : DOMMatrixReadOnly { | 14 ] interface DOMMatrix : DOMMatrixReadOnly { |
14 // These attributes are simple aliases for certain elements of the 4x4 matri
x | 15 // These attributes are simple aliases for certain elements of the 4x4 matri
x |
15 inherit attribute unrestricted double a; | 16 inherit attribute unrestricted double a; |
16 inherit attribute unrestricted double b; | 17 inherit attribute unrestricted double b; |
17 inherit attribute unrestricted double c; | 18 inherit attribute unrestricted double c; |
18 inherit attribute unrestricted double d; | 19 inherit attribute unrestricted double d; |
19 inherit attribute unrestricted double e; | 20 inherit attribute unrestricted double e; |
20 inherit attribute unrestricted double f; | 21 inherit attribute unrestricted double f; |
21 | 22 |
22 inherit attribute unrestricted double m11; | 23 inherit attribute unrestricted double m11; |
(...skipping 27 matching lines...) Expand all Loading... |
50 optional unrestricted double originX = 0, | 51 optional unrestricted double originX = 0, |
51 optional unrestricted double originY = 0, | 52 optional unrestricted double originY = 0, |
52 optional unrestricted double originZ = 0); | 53 optional unrestricted double originZ = 0); |
53 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, | 54 DOMMatrix scaleNonUniformSelf(unrestricted double scaleX, |
54 optional unrestricted double scaleY = 1, | 55 optional unrestricted double scaleY = 1, |
55 optional unrestricted double scaleZ = 1, | 56 optional unrestricted double scaleZ = 1, |
56 optional unrestricted double originX = 0, | 57 optional unrestricted double originX = 0, |
57 optional unrestricted double originY = 0, | 58 optional unrestricted double originY = 0, |
58 optional unrestricted double originZ = 0); | 59 optional unrestricted double originZ = 0); |
59 }; | 60 }; |
OLD | NEW |