blob: 1f2445d1f27f3335d47fa6137c5698a4f20d9c3c [file] [log] [blame]
Test the parsing of the cursor property when used with -webkit-image-set.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Bug 99493
Test a bunch of cursor rules which should round-trip exactly.
PASS style.cssText is "cursor: image-set(url(\"file:///foo.png\") 1dppx), auto;"
PASS style.cssText is "cursor: image-set(url(\"file:///foo.png\") 1dppx, url(\"file:///foo2x.png\") 2dppx), auto;"
PASS style.cssText is "cursor: image-set(url(\"file:///foo.png\") 1dppx, url(\"file:///foo2x.png\") 2dppx) 2 3, auto;"
PASS style.cssText is "cursor: image-set(url(\"file:///foo03.png\") 0.3dppx, url(\"file:///foo5x.png\") 5dppx) 6 5, url(\"file:///foo.png\") 12 3, pointer;"
PASS successfullyParsed is true
TEST COMPLETE