Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: LayoutTests/fast/events/mouse-cursor-image-set.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698