OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("Test window.CSS.supports()"); | 8 description("Test window.CSS.supports()"); |
9 | 9 |
10 shouldBeTrue('CSS.supports("(display: none)")'); | 10 shouldBeTrue('CSS.supports("(display: none)")'); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 shouldBeFalse('CSS.supports("", "")'); | 76 shouldBeFalse('CSS.supports("", "")'); |
77 shouldBeFalse('CSS.supports(true, "")'); | 77 shouldBeFalse('CSS.supports(true, "")'); |
78 shouldBeFalse('CSS.supports([], "none")'); | 78 shouldBeFalse('CSS.supports([], "none")'); |
79 shouldBeFalse('CSS.supports("display", "")'); | 79 shouldBeFalse('CSS.supports("display", "")'); |
80 shouldBeFalse('CSS.supports("display:", "none")'); | 80 shouldBeFalse('CSS.supports("display:", "none")'); |
81 shouldBeTrue('CSS.supports("z-index", 1)'); | 81 shouldBeTrue('CSS.supports("z-index", 1)'); |
82 shouldBeFalse('CSS.supports("content", [])'); | 82 shouldBeFalse('CSS.supports("content", [])'); |
83 shouldBeFalse('CSS.supports("content", "!important")'); | 83 shouldBeFalse('CSS.supports("content", "!important")'); |
84 shouldBeFalse('CSS.supports("(display: none)", undefined)'); | 84 shouldBeFalse('CSS.supports("(display: none)", undefined)'); |
85 </script> | 85 </script> |
86 <script src="../fast/js/resources/js-test-post.js"></script> | |
87 </body> | 86 </body> |
88 </html> | 87 </html> |
OLD | NEW |