| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <p id="description"></p> | 6 <p id="description"></p> |
| 7 <div id="console"></div> | 7 <div id="console"></div> |
| 8 <script> | 8 <script> |
| 9 description("Test the parsing of the cursor property in quirks mode."); | 9 description("Test the parsing of the cursor property in quirks mode."); |
| 10 function makeCursorRule(rule) | 10 function makeCursorRule(rule) |
| 11 { | 11 { |
| 12 return "cursor: " + rule + ";"; | 12 return "cursor: " + rule + ";"; |
| 13 } | 13 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 42 testCursorRule('url(file:///foo.png), hand', 'url(file:///foo.png), pointer'); | 42 testCursorRule('url(file:///foo.png), hand', 'url(file:///foo.png), pointer'); |
| 43 | 43 |
| 44 debug(''); | 44 debug(''); |
| 45 debug('Test invalid cursor rules which shouldn\'t parse at all.'); | 45 debug('Test invalid cursor rules which shouldn\'t parse at all.'); |
| 46 testInvalidCursorRule('url(file:///foo.png), url(file:///foo2.png)'); | 46 testInvalidCursorRule('url(file:///foo.png), url(file:///foo2.png)'); |
| 47 | 47 |
| 48 successfullyParsed = true; | 48 successfullyParsed = true; |
| 49 </script> | 49 </script> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |