| 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
|
| deleted file mode 100644
|
| index a446403d14a72cf7707d43e7061533291f29e344..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/transformValue.html
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -
|
| -<script>
|
| -
|
| -test(function() {
|
| - var transformValueObject = new TransformValue();
|
| - assert_true(transformValueObject instanceof TransformValue);
|
| - assert_true(transformValueObject instanceof CSSStyleValue);
|
| -}, "A TransformValue object can be constructed");
|
| -
|
| -test(function() {
|
| - var transformArray = [new CSSScale(2,2),
|
| - new CSSMatrix(1,1,1,1,1,1), new CSSScale(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 CSSScale(2,2),
|
| - new CSSMatrix(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1), new CSSScale(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 CSSScale(2,2),
|
| - new CSSMatrix(1,1,1,1,1,1), new CSSScale(5,6)];
|
| - var transformValue = new TransformValue(transformArray);
|
| -
|
| - var newTransformArray = [];
|
| - for (var component of transformValue) {
|
| - newTransformArray.push(component);
|
| - }
|
| - assert_true(newTransformArray.length == 3);
|
| - assert_true(newTransformArray[0] instanceof CSSScale);
|
| - assert_true(newTransformArray[1] instanceof CSSMatrix);
|
| - assert_true(newTransformArray[2] instanceof CSSScale);
|
| -}, "TransformValue can iterate through all its all its transformComponent members");
|
| -
|
| -</script>
|
| -
|
| -<body>
|
| -</body>
|
|
|