blob: 8c66c764c21538285e654774783daca6bf39c804 [file] [log] [blame]
Test parsing of the CSS shape-image-threshold property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
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 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