| Index: third_party/WebKit/LayoutTests/typedcssom/transformValue.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html b/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
|
| index 375033a2958b4daaf8de6c8b1df3d8ee9563eaf8..bcbe434b80012a7cca865ac74f5a6c76e2312062 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
|
| @@ -11,22 +11,22 @@ test(function() {
|
| }, "A TransformValue object can be constructed");
|
|
|
| test(function() {
|
| - var transformArray = [new ScaleTransformComponent(2,2),
|
| - new MatrixTransformComponent(1,1,1,1,1,1), new ScaleTransformComponent(5,6)];
|
| + var transformArray = [new Scale(2,2),
|
| + new Matrix(1,1,1,1,1,1), new Scale(5,6)];
|
| var transformValue = new TransformValue(transformArray);
|
| assert_true(transformValue.is2D());
|
| }, "is2D returns true for transformValues containing only 2D transformComponents");
|
|
|
| test(function() {
|
| - var transformArray = [new ScaleTransformComponent(2,2),
|
| - new MatrixTransformComponent(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new ScaleTransformComponent(5,6)];
|
| + var transformArray = [new Scale(2,2),
|
| + new Matrix(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new Scale(5,6)];
|
| var transformValue = new TransformValue(transformArray);
|
| assert_false(transformValue.is2D());
|
| }, "is2D returns false for transformValues containing both 2D and 3D transformComponents");
|
|
|
| test(function() {
|
| - var transformArray = [new ScaleTransformComponent(2,2),
|
| - new MatrixTransformComponent(1,1,1,1,1,1), new ScaleTransformComponent(5,6)];
|
| + var transformArray = [new Scale(2,2),
|
| + new Matrix(1,1,1,1,1,1), new Scale(5,6)];
|
| var transformValue = new TransformValue(transformArray);
|
|
|
| var newTransformArray = [];
|
| @@ -34,9 +34,9 @@ test(function() {
|
| newTransformArray.push(component);
|
| }
|
| assert_true(newTransformArray.length == 3);
|
| - assert_true(newTransformArray[0] instanceof ScaleTransformComponent);
|
| - assert_true(newTransformArray[1] instanceof MatrixTransformComponent);
|
| - assert_true(newTransformArray[2] instanceof ScaleTransformComponent);
|
| + assert_true(newTransformArray[0] instanceof Scale);
|
| + assert_true(newTransformArray[1] instanceof Matrix);
|
| + assert_true(newTransformArray[2] instanceof Scale);
|
| }, "TransformValue can iterate through all its all its transformComponent members");
|
|
|
| </script>
|
|
|