| Index: third_party/WebKit/LayoutTests/typedcssom/rotationTransformComponent.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/rotationTransformComponent.html b/third_party/WebKit/LayoutTests/typedcssom/rotationTransformComponent.html
|
| index a7ec981f0dff2377816e5ed7448d2bb27898a015..27f8d563dbe87dc09be905d613e641f55f9951af 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/rotationTransformComponent.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/rotationTransformComponent.html
|
| @@ -4,19 +4,19 @@
|
|
|
| <script>
|
| var values = [
|
| - {input: new RotationTransformComponent(0), angle: 0, x: 0, y: 0, z: 1,
|
| + {input: new Rotation(0), angle: 0, x: 0, y: 0, z: 1,
|
| is2DComponent: true, cssString: "rotate(0deg)"},
|
| - {input: new RotationTransformComponent(10), angle: 10, x: 0, y: 0, z: 1,
|
| + {input: new Rotation(10), angle: 10, x: 0, y: 0, z: 1,
|
| is2DComponent: true, cssString: "rotate(10deg)"},
|
| - {input: new RotationTransformComponent(-21), angle: -21, x: 0, y: 0, z: 1,
|
| + {input: new Rotation(-21), angle: -21, x: 0, y: 0, z: 1,
|
| is2DComponent: true, cssString: "rotate(-21deg)"},
|
| - {input: new RotationTransformComponent(3.2), angle: 3.2, x: 0, y: 0, z: 1,
|
| + {input: new Rotation(3.2), angle: 3.2, x: 0, y: 0, z: 1,
|
| is2DComponent: true, cssString: "rotate(3.2deg)"},
|
| - {input: new RotationTransformComponent(10, 0, 0, 1), angle: 10, x: 0, y: 0, z: 1,
|
| + {input: new Rotation(10, 0, 0, 1), angle: 10, x: 0, y: 0, z: 1,
|
| is2DComponent: false, cssString: "rotate3d(0, 0, 1, 10deg)"},
|
| - {input: new RotationTransformComponent(10, 2, 3, 4), angle: 10, x: 2, y: 3, z: 4,
|
| + {input: new Rotation(10, 2, 3, 4), angle: 10, x: 2, y: 3, z: 4,
|
| is2DComponent: false, cssString: "rotate3d(2, 3, 4, 10deg)"},
|
| - {input: new RotationTransformComponent(-1.2, 2, 3.7, -4), angle: -1.2, x: 2, y: 3.7, z: -4,
|
| + {input: new Rotation(-1.2, 2, 3.7, -4), angle: -1.2, x: 2, y: 3.7, z: -4,
|
| is2DComponent: false, cssString: "rotate3d(2, 3.7, -4, -1.2deg)"}
|
| ];
|
|
|
| @@ -27,18 +27,18 @@ test(function() {
|
| assert_equals(values[i].input.y, values[i].y);
|
| assert_equals(values[i].input.z, values[i].z);
|
| }
|
| -}, "Test that the (angle, x, y, z) values for RotationTransformComponent are correct.");
|
| +}, "Test that the (angle, x, y, z) values for Rotation are correct.");
|
|
|
| test(function() {
|
| for (var i = 0; i < values.length; ++i) {
|
| assert_equals(values[i].input.is2DComponent(), values[i].is2DComponent);
|
| }
|
| -}, "Test that the is2DComponent values for RotationTransformComponent is correct.");
|
| +}, "Test that the is2DComponent values for Rotation is correct.");
|
|
|
| test(function() {
|
| for (var i = 0; i < values.length; ++i) {
|
| assert_equals(values[i].input.cssString, values[i].cssString);
|
| }
|
| -}, "Test that cssString values for RotationTransformComponent is correct.");
|
| +}, "Test that cssString values for Rotation is correct.");
|
|
|
| </script>
|
|
|