| Index: Source/core/css/WebKitCSSMatrix.idl
|
| diff --git a/Source/core/css/CSSMatrix.idl b/Source/core/css/WebKitCSSMatrix.idl
|
| similarity index 86%
|
| rename from Source/core/css/CSSMatrix.idl
|
| rename to Source/core/css/WebKitCSSMatrix.idl
|
| index 8f2e2bbe052a77238f29ab8da8c533863efbde44..95eb35c501859e77b5440888d5aaccb90600559f 100644
|
| --- a/Source/core/css/CSSMatrix.idl
|
| +++ b/Source/core/css/WebKitCSSMatrix.idl
|
| @@ -26,9 +26,9 @@
|
| // Introduced in DOM Level ?:
|
| [
|
| Constructor([Default=NullString] optional DOMString cssValue),
|
| - InterfaceName=WebKitCSSMatrix,
|
| + ImplementedAs=CSSMatrix,
|
| RaisesException
|
| -] interface CSSMatrix {
|
| +] interface WebKitCSSMatrix {
|
|
|
| // These attributes are simple aliases for certain elements of the 4x4 matrix
|
| attribute double a; // alias for m11
|
| @@ -58,46 +58,46 @@
|
| [RaisesException] void setMatrixValue([Default=Undefined] optional DOMString string);
|
|
|
| // Multiply this matrix by secondMatrix, on the right (result = this * secondMatrix)
|
| - [Immutable] CSSMatrix multiply([Default=Undefined] optional CSSMatrix secondMatrix);
|
| + [Immutable] WebKitCSSMatrix multiply([Default=Undefined] optional WebKitCSSMatrix secondMatrix);
|
|
|
| // Return the inverse of this matrix. Throw an exception if the matrix is not invertible
|
| - [Immutable, RaisesException] CSSMatrix inverse();
|
| + [Immutable, RaisesException] WebKitCSSMatrix 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] CSSMatrix translate([Default=Undefined] optional double x,
|
| + [Immutable] WebKitCSSMatrix 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] CSSMatrix scale([Default=Undefined] optional double scaleX,
|
| + [Immutable] WebKitCSSMatrix 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] CSSMatrix rotate([Default=Undefined] optional double rotX,
|
| + [Immutable] WebKitCSSMatrix 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] CSSMatrix rotateAxisAngle([Default=Undefined] optional double x,
|
| + [Immutable] WebKitCSSMatrix 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] CSSMatrix skewX([Default=Undefined] optional double angle);
|
| + [Immutable] WebKitCSSMatrix 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] CSSMatrix skewY([Default=Undefined] optional double angle);
|
| + [Immutable] WebKitCSSMatrix skewY([Default=Undefined] optional double angle);
|
|
|
| [NotEnumerable] DOMString toString();
|
| };
|
|
|