blob: fc2de3428bc2467ed1cbda39ed2f85c5f8f35078 [file] [log] [blame]
Test parsing and computed style of flood-opacity
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS innerStyle("flood-opacity", "0") is "0"
PASS innerStyle("flood-opacity", "0.5") is "0.5"
PASS innerStyle("flood-opacity", "1") is "1"
PASS innerStyle("flood-opacity", "1000") is "1000"
PASS innerStyle("flood-opacity", "-400") is "-400"
PASS innerStyle("flood-opacity", "20%") is "0.2"
PASS innerStyle("flood-opacity", "-600%") is "-6"
PASS innerStyle("flood-opacity", "700%") is "7"
PASS innerStyle("flood-opacity", "2.5e-1") is "0.25"
PASS innerStyle("flood-opacity", "2.5e1%") is "0.25"
PASS innerStyle("flood-opacity", "100.25%") is "1.0025"
PASS computedStyle("flood-opacity", "0") is "0"
PASS computedStyle("flood-opacity", "0.5") is "0.5"
PASS computedStyle("flood-opacity", "1") is "1"
PASS computedStyle("flood-opacity", "1000") is "1"
PASS computedStyle("flood-opacity", "-400") is "0"
PASS computedStyle("flood-opacity", "25%") is "0.25"
PASS computedStyle("flood-opacity", "-600%") is "0"
PASS computedStyle("flood-opacity", "700%") is "1"
PASS computedStyle("flood-opacity", "2.5e-1") is "0.25"
PASS computedStyle("flood-opacity", "2.5e1%") is "0.25"
PASS computedStyle("flood-opacity", "100.25%") is "1"
PASS innerStyle("flood-opacity", "2px") is ""
PASS innerStyle("flood-opacity", "auto") is ""
PASS innerStyle("flood-opacity", "none") is ""
PASS innerStyle("flood-opacity", "'str'") is ""
PASS successfullyParsed is true
TEST COMPLETE