OLD | NEW |
1 Test the parsing of the cursor property in quirks mode. | 1 Test the parsing of the cursor property in quirks mode. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Test cursor rules which should accept 'hand' as an alias of 'pointer'. | 6 Test cursor rules which should accept 'hand' as an alias of 'pointer'. |
7 PASS roundtripCssRule("cursor: hand;") is "cursor: pointer;" | 7 PASS roundtripCssRule("cursor: hand;") is "cursor: pointer;" |
8 PASS roundtripCssRule("cursor: url(file:///foo.png), hand;") is "cursor: url(fil
e:///foo.png), pointer;" | 8 PASS roundtripCssRule("cursor: url(file:///foo.png), hand;") is "cursor: url(\"f
ile:///foo.png\"), pointer;" |
9 | 9 |
10 Test invalid cursor rules which shouldn't parse at all. | 10 Test invalid cursor rules which shouldn't parse at all. |
11 PASS roundtripCssRule("cursor: url(file:///foo.png), url(file:///foo2.png);") is
"" | 11 PASS roundtripCssRule("cursor: url(file:///foo.png), url(file:///foo2.png);") is
"" |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |