Index: LayoutTests/fast/css/aspect-ratio-parsing-tests.html |
diff --git a/LayoutTests/fast/css/aspect-ratio-parsing-tests.html b/LayoutTests/fast/css/aspect-ratio-parsing-tests.html |
deleted file mode 100644 |
index 8092734f550010d00d6aaf5cf4ac469d1a107286..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/css/aspect-ratio-parsing-tests.html |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
- <head> |
- <script src="../../resources/js-test.js"></script> |
- </head> |
- <body> |
- <p id="description"></p> |
- <div id="console"></div> |
- <div id="aspectRatioTest"></div> |
- <script> |
- description('CSS Aspect Ratio Parsing Test'); |
- function testParsing(elementId, value, styleAttribute) |
- { |
- var div = document.getElementById(elementId); |
- div.style[styleAttribute] = value; |
- return div.style[styleAttribute]; |
- } |
- |
- shouldBeEqualToString('testParsing("aspectRatioTest", "2/1", "-webkit-aspect-ratio")', '2/1'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1/1", "-webkit-aspect-ratio")', '1/1'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1/4", "-webkit-aspect-ratio")', '1/4'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1 / 2", "-webkit-aspect-ratio")', '1/2'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1.2 / 2", "-webkit-aspect-ratio")', '1.2/2'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "2 / 0.5", "-webkit-aspect-ratio")', '2/0.5'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "inherit", "-webkit-aspect-ratio")', 'inherit'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "none", "-webkit-aspect-ratio")', 'none'); |
- |
- // The following are invalid and should get ignored. |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1 2", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "a/1", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1/a", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "abc123", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1 / 0", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "0 / 1", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "0 / 0", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "-1 / 8", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "1 / -9", "-webkit-aspect-ratio")', 'none'); |
- shouldBeEqualToString('testParsing("aspectRatioTest", "-1 / -4", "-webkit-aspect-ratio")', 'none'); |
- </script> |
- </body> |
-</html> |