| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="../js/resources/image-preload-helper.js"></script> | 5 <script src="../js/resources/image-preload-helper.js"></script> |
| 6 <style type="text/css"> | 6 <style type="text/css"> |
| 7 </style> | 7 </style> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <p id="description"></p> | 10 <p id="description"></p> |
| 11 <p><a href=https://bugs.webkit.org/show_bug.cgi?id=99493>Bug 99493</a></p> | 11 <p><a href=https://bugs.webkit.org/show_bug.cgi?id=99493>Bug 99493</a></p> |
| 12 <div id="test-container"> | 12 <div id="test-container"> |
| 13 <div style='cursor: -webkit-image-set(url(resources/greenbox.png) 1x), pointer
'>25x25 image at 1x</div> | 13 <div style='cursor: -webkit-image-set(url(resources/greenbox.png) 1x), pointer
'>25x25 image at 1x</div> |
| 14 <div style='cursor: -webkit-image-set(url(resources/greenbox.png) 2x), pointer
'>25x25 image at 2x</div> | 14 <div style='cursor: -webkit-image-set(url(resources/greenbox.png) 2x), pointer
'>25x25 image at 2x</div> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 window.jsTestIsAsync = true; | 78 window.jsTestIsAsync = true; |
| 79 } | 79 } |
| 80 | 80 |
| 81 // Now wait for each image to load or fail to load before starting tests. | 81 // Now wait for each image to load or fail to load before starting tests. |
| 82 // Without this we can get null images in the cursors - eg. no known size. | 82 // Without this we can get null images in the cursors - eg. no known size. |
| 83 preloadImagesFromStyle(testContainer, 6, runTests, /doesntexist/); | 83 preloadImagesFromStyle(testContainer, 6, runTests, /doesntexist/); |
| 84 | 84 |
| 85 </script> | 85 </script> |
| 86 </body> | 86 </body> |
| 87 </html> | 87 </html> |
| OLD | NEW |