Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: core/css/WebKitCSSMatrix.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/css/WebKitCSSFilterValue.idl ('k') | core/css/WebKitCSSTransformValue.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/css/WebKitCSSMatrix.idl
diff --git a/core/css/WebKitCSSMatrix.idl b/core/css/WebKitCSSMatrix.idl
index 8f2dc550795e56ca1d034de99e325e8fb4c31d70..b224c071dd33d071d152cfed162474dc1bed9c54 100644
--- a/core/css/WebKitCSSMatrix.idl
+++ b/core/css/WebKitCSSMatrix.idl
@@ -26,35 +26,36 @@
// Introduced in DOM Level ?:
[
Constructor(optional DOMString cssValue = null),
+ ConstructorCallWith=ExecutionContext,
ImplementedAs=CSSMatrix,
RaisesException=Constructor,
WillBeGarbageCollected
] interface WebKitCSSMatrix {
// These attributes are simple aliases for certain elements of the 4x4 matrix
- attribute double a; // alias for m11
- attribute double b; // alias for m12
- attribute double c; // alias for m21
- attribute double d; // alias for m22
- attribute double e; // alias for m41
- attribute double f; // alias for m42
+ attribute unrestricted double a; // alias for m11
+ attribute unrestricted double b; // alias for m12
+ attribute unrestricted double c; // alias for m21
+ attribute unrestricted double d; // alias for m22
+ attribute unrestricted double e; // alias for m41
+ attribute unrestricted double f; // alias for m42
- attribute double m11;
- attribute double m12;
- attribute double m13;
- attribute double m14;
- attribute double m21;
- attribute double m22;
- attribute double m23;
- attribute double m24;
- attribute double m31;
- attribute double m32;
- attribute double m33;
- attribute double m34;
- attribute double m41;
- attribute double m42;
- attribute double m43;
- attribute double m44;
+ attribute unrestricted double m11;
+ attribute unrestricted double m12;
+ attribute unrestricted double m13;
+ attribute unrestricted double m14;
+ attribute unrestricted double m21;
+ attribute unrestricted double m22;
+ attribute unrestricted double m23;
+ attribute unrestricted double m24;
+ attribute unrestricted double m31;
+ attribute unrestricted double m32;
+ attribute unrestricted double m33;
+ attribute unrestricted double m34;
+ attribute unrestricted double m41;
+ attribute unrestricted double m42;
+ attribute unrestricted double m43;
+ attribute unrestricted double m44;
[RaisesException] void setMatrixValue([Default=Undefined] optional DOMString string);
@@ -66,39 +67,39 @@
// 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,
- [Default=Undefined] optional double y,
- [Default=Undefined] optional double z);
+ [Immutable] WebKitCSSMatrix translate([Default=Undefined] optional unrestricted double x,
+ [Default=Undefined] optional unrestricted double y,
+ [Default=Undefined] optional unrestricted 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,
- [Default=Undefined] optional double scaleY,
- [Default=Undefined] optional double scaleZ);
+ [Immutable] WebKitCSSMatrix scale([Default=Undefined] optional unrestricted double scaleX,
+ [Default=Undefined] optional unrestricted double scaleY,
+ [Default=Undefined] optional unrestricted 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,
- [Default=Undefined] optional double rotY,
- [Default=Undefined] optional double rotZ);
+ [Immutable] WebKitCSSMatrix rotate([Default=Undefined] optional unrestricted double rotX,
+ [Default=Undefined] optional unrestricted double rotY,
+ [Default=Undefined] optional unrestricted 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,
- [Default=Undefined] optional double y,
- [Default=Undefined] optional double z,
- [Default=Undefined] optional double angle);
+ [Immutable] WebKitCSSMatrix rotateAxisAngle([Default=Undefined] optional unrestricted double x,
+ [Default=Undefined] optional unrestricted double y,
+ [Default=Undefined] optional unrestricted double z,
+ [Default=Undefined] optional unrestricted 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] WebKitCSSMatrix skewX([Default=Undefined] optional unrestricted 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] WebKitCSSMatrix skewY([Default=Undefined] optional unrestricted double angle);
[NotEnumerable] stringifier;
};
« no previous file with comments | « core/css/WebKitCSSFilterValue.idl ('k') | core/css/WebKitCSSTransformValue.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698