25 lines
747 B
Plaintext
25 lines
747 B
Plaintext
Tests that the width keywords are respected by the parser and then returned by the style object. Should output each keyword on a line, and then a bunch of PASS comparisons for dynamic checks.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
|
|
-webkit-min-content
|
|
-webkit-max-content
|
|
-webkit-fill-available
|
|
-webkit-fit-content
|
|
min-content
|
|
max-content
|
|
fit-content
|
|
PASS div.style.width is "min-content"
|
|
PASS div.style.width is "-webkit-min-content"
|
|
PASS div.style.width is "max-content"
|
|
PASS div.style.width is "-webkit-max-content"
|
|
PASS div.style.width is "fit-content"
|
|
PASS div.style.width is "-webkit-fit-content"
|
|
PASS div.style.width is "-webkit-fill-available"
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|