blob: fe77db5becff039f2bcea60f0938e8963eec3c6e [file] [log] [blame]
Test the parsing of the cursor property in quirks mode.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test cursor rules which should accept 'hand' as an alias of 'pointer'.
PASS roundtripCssRule("cursor: hand;") is "cursor: pointer;"
PASS roundtripCssRule("cursor: url(file:///foo.png), hand;") is "cursor: url(\"file:///foo.png\"), pointer;"
Test invalid cursor rules which shouldn't parse at all.
PASS roundtripCssRule("cursor: url(file:///foo.png), url(file:///foo2.png);") is ""
PASS successfullyParsed is true
TEST COMPLETE