| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 description("This tests checks that all of the input values for obje
ct-fit parse correctly."); | 8 description("This tests checks that all of the input values for obje
ct-fit parse correctly."); |
| 9 | 9 |
| 10 function test(value) | 10 function test(value) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 shouldBe('test("object-fit: contain;")', '"contain"'); | 36 shouldBe('test("object-fit: contain;")', '"contain"'); |
| 37 shouldBe('test("object-fit: cover;")', '"cover"'); | 37 shouldBe('test("object-fit: cover;")', '"cover"'); |
| 38 shouldBe('test("object-fit: none;")', '"none"'); | 38 shouldBe('test("object-fit: none;")', '"none"'); |
| 39 shouldBe('test("object-fit: scale-down;")', '"scale-down"'); | 39 shouldBe('test("object-fit: scale-down;")', '"scale-down"'); |
| 40 | 40 |
| 41 shouldBeNull('test("object-fit: fill contain;")'); | 41 shouldBeNull('test("object-fit: fill contain;")'); |
| 42 shouldBeNull('test("object-fit: bananas;")'); | 42 shouldBeNull('test("object-fit: bananas;")'); |
| 43 shouldBeNull('test("object-fit: 23px;")'); | 43 shouldBeNull('test("object-fit: 23px;")'); |
| 44 shouldBeNull('test("object-fit: 20%;")'); | 44 shouldBeNull('test("object-fit: 20%;")'); |
| 45 </script> | 45 </script> |
| 46 <script src="../js/resources/js-test-post.js"></script> | |
| 47 </body> | 46 </body> |
| 48 </html> | 47 </html> |
| OLD | NEW |