haikuwebkit/LayoutTests/fast/css/cursor-parsing-image-set-ex...

17 lines
753 B
Plaintext

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