OLD | NEW |
1 This tests checks that all of the input values for object-fit parse correctly. | 1 This tests checks that all of the input values for object-fit parse correctly. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS testComputedStyle(";") is "fill" | 6 PASS testComputedStyle(";") is "fill" |
7 PASS test("object-fit: inherit;") is "inherit" | 7 PASS test("object-fit: inherit;") is "inherit" |
8 PASS test("object-fit: initial;") is "initial" | 8 PASS test("object-fit: initial;") is "initial" |
9 PASS test("object-fit: fill;") is "fill" | 9 PASS test("object-fit: fill;") is "fill" |
10 PASS test("object-fit: contain;") is "contain" | 10 PASS test("object-fit: contain;") is "contain" |
11 PASS test("object-fit: cover;") is "cover" | 11 PASS test("object-fit: cover;") is "cover" |
12 PASS test("object-fit: none;") is "none" | 12 PASS test("object-fit: none;") is "none" |
13 PASS test("object-fit: scale-down;") is "scale-down" | 13 PASS test("object-fit: scale-down;") is "scale-down" |
14 PASS test("object-fit: fill contain;") is null | 14 PASS test("object-fit: fill contain;") is "" |
15 PASS test("object-fit: bananas;") is null | 15 PASS test("object-fit: bananas;") is "" |
16 PASS test("object-fit: 23px;") is null | 16 PASS test("object-fit: 23px;") is "" |
17 PASS test("object-fit: 20%;") is null | 17 PASS test("object-fit: 20%;") is "" |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |