OLD | NEW |
1 Tests that the width keywords are respected by the parser and then returned by t
he style object. Should output each keyword on a line, and then a bunch of PASS
comparisons for dynamic checks. | 1 Tests that the width keywords are respected by the parser and then returned by t
he style object. Should output each keyword on a line, and then a bunch of PASS
comparisons for dynamic checks. |
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 | 6 |
7 -webkit-min-content | 7 -webkit-min-content |
8 -webkit-max-content | 8 -webkit-max-content |
9 -webkit-fill-available | 9 -webkit-fill-available |
10 -webkit-fit-content | 10 -webkit-fit-content |
| 11 min-content |
| 12 max-content |
| 13 fit-content |
11 PASS div.style.width is "-webkit-min-content" | 14 PASS div.style.width is "-webkit-min-content" |
12 PASS div.style.width is "-webkit-max-content" | 15 PASS div.style.width is "-webkit-max-content" |
13 PASS div.style.width is "-webkit-fill-available" | 16 PASS div.style.width is "-webkit-fill-available" |
14 PASS div.style.width is "-webkit-fit-content" | 17 PASS div.style.width is "-webkit-fit-content" |
| 18 PASS div.style.width is "min-content" |
| 19 PASS div.style.width is "max-content" |
| 20 PASS div.style.width is "fit-content" |
15 PASS successfullyParsed is true | 21 PASS successfullyParsed is true |
16 | 22 |
17 TEST COMPLETE | 23 TEST COMPLETE |
18 | 24 |
OLD | NEW |