| Index: sky/engine/core/css/CSSMatrix.idl
|
| diff --git a/sky/engine/core/css/WebKitCSSMatrix.idl b/sky/engine/core/css/CSSMatrix.idl
|
| similarity index 86%
|
| rename from sky/engine/core/css/WebKitCSSMatrix.idl
|
| rename to sky/engine/core/css/CSSMatrix.idl
|
| index 8f2dc550795e56ca1d034de99e325e8fb4c31d70..8721ece5729b0c52878646cf3041839df40dc0dc 100644
|
| --- a/sky/engine/core/css/WebKitCSSMatrix.idl
|
| +++ b/sky/engine/core/css/CSSMatrix.idl
|
| @@ -29,7 +29,7 @@
|
| ImplementedAs=CSSMatrix,
|
| RaisesException=Constructor,
|
| WillBeGarbageCollected
|
| -] interface WebKitCSSMatrix {
|
| +] interface CSSMatrix {
|
|
|
| // These attributes are simple aliases for certain elements of the 4x4 matrix
|
| attribute double a; // alias for m11
|
| @@ -59,46 +59,46 @@
|
| [RaisesException] void setMatrixValue([Default=Undefined] optional DOMString string);
|
|
|
| // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix)
|
| - [Immutable] WebKitCSSMatrix multiply([Default=Undefined] optional WebKitCSSMatrix secondMatrix);
|
| + [Immutable] CSSMatrix multiply([Default=Undefined] optional CSSMatrix secondMatrix);
|
|
|
| // Return the inverse of this matrix. Throw an exception if the matrix is not invertible
|
| - [Immutable, RaisesException] WebKitCSSMatrix inverse();
|
| + [Immutable, RaisesException] CSSMatrix inverse();
|
|
|
| // Return this matrix translated by the passed values.
|
| // Passing a NaN will use a value of 0. This allows the 3D form to used for 2D operations
|
| - [Immutable] WebKitCSSMatrix translate([Default=Undefined] optional double x,
|
| + [Immutable] CSSMatrix translate([Default=Undefined] optional double x,
|
| [Default=Undefined] optional double y,
|
| [Default=Undefined] optional double z);
|
|
|
| // Returns this matrix scaled by the passed values.
|
| // Passing scaleX or scaleZ as NaN uses a value of 1, but passing scaleY of NaN
|
| // makes it the same as scaleX. This allows the 3D form to used for 2D operations
|
| - [Immutable] WebKitCSSMatrix scale([Default=Undefined] optional double scaleX,
|
| + [Immutable] CSSMatrix scale([Default=Undefined] optional double scaleX,
|
| [Default=Undefined] optional double scaleY,
|
| [Default=Undefined] optional double scaleZ);
|
|
|
| // Returns this matrix rotated by the passed values.
|
| // If rotY and rotZ are NaN, rotate about Z (rotX=0, rotateY=0, rotateZ=rotX).
|
| // Otherwise use a rotation value of 0 for any passed NaN.
|
| - [Immutable] WebKitCSSMatrix rotate([Default=Undefined] optional double rotX,
|
| + [Immutable] CSSMatrix rotate([Default=Undefined] optional double rotX,
|
| [Default=Undefined] optional double rotY,
|
| [Default=Undefined] optional double rotZ);
|
|
|
| // Returns this matrix rotated about the passed axis by the passed angle.
|
| // Passing a NaN will use a value of 0. If the axis is (0,0,0) use a value
|
| // of (0,0,1).
|
| - [Immutable] WebKitCSSMatrix rotateAxisAngle([Default=Undefined] optional double x,
|
| + [Immutable] CSSMatrix rotateAxisAngle([Default=Undefined] optional double x,
|
| [Default=Undefined] optional double y,
|
| [Default=Undefined] optional double z,
|
| [Default=Undefined] optional double angle);
|
|
|
| // Returns this matrix skewed along the X axis by the passed values.
|
| // Passing a NaN will use a value of 0.
|
| - [Immutable] WebKitCSSMatrix skewX([Default=Undefined] optional double angle);
|
| + [Immutable] CSSMatrix skewX([Default=Undefined] optional double angle);
|
|
|
| // Returns this matrix skewed along the Y axis by the passed values.
|
| // Passing a NaN will use a value of 0.
|
| - [Immutable] WebKitCSSMatrix skewY([Default=Undefined] optional double angle);
|
| + [Immutable] CSSMatrix skewY([Default=Undefined] optional double angle);
|
|
|
| [NotEnumerable] stringifier;
|
| };
|
|
|