30 lines
1.6 KiB
Plaintext
30 lines
1.6 KiB
Plaintext
Test parsing of the CSS shape-image-threshold property.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS getCSSText("-webkit-shape-image-threshold", "0") is "0"
|
|
PASS getCSSText("-webkit-shape-image-threshold", "0.5") is "0.5"
|
|
PASS getCSSText("-webkit-shape-image-threshold", "1") is "1"
|
|
PASS getCSSText("-webkit-shape-image-threshold", "-0.1") is "-0.1"
|
|
PASS getCSSText("-webkit-shape-image-threshold", "1.1") is "1.1"
|
|
PASS getCSSText("-webkit-shape-image-threshold", "identifier") is ""
|
|
PASS getCSSText("-webkit-shape-image-threshold", "'string'") is ""
|
|
PASS getCSSText("-webkit-shape-image-threshold", "calc(0.1 + 0.4)") is "calc(0.5)"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "0") is "0"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "0.5") is "0.5"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "1") is "1"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "-0.1") is "0"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "1.1") is "1"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "identifier") is "0"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "'string'") is "0"
|
|
PASS getComputedStyleValue("-webkit-shape-image-threshold", "calc(0.1 + 0.4)") is "0.5"
|
|
PASS getChildComputedStyle("-webkit-shape-image-threshold", "0", "0") is "0"
|
|
PASS getChildComputedStyle("-webkit-shape-image-threshold", "0", "1") is "1"
|
|
PASS getChildComputedStyle("-webkit-shape-image-threshold", "1", "-1") is "0"
|
|
PASS getChildComputedStyle("-webkit-shape-image-threshold", "2", "1") is "1"
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|