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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/events/mouse-cursor.html

Issue 2522443002: Remove SVGCursorElement (Closed)
Patch Set: Rebase Created 4 years 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.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>
(...skipping 15 matching lines...) Expand all
26 <div style='cursor: url(doesntexist_FAIL.png), pointer'>Invalid URL with fallb ack to pointer</div> 26 <div style='cursor: url(doesntexist_FAIL.png), pointer'>Invalid URL with fallb ack to pointer</div>
27 <div style='cursor: url(doesntexist_FAIL.png), url(resources/greenbox.png), po inter'>Invalid with fallback to 25x25 image</div> 27 <div style='cursor: url(doesntexist_FAIL.png), url(resources/greenbox.png), po inter'>Invalid with fallback to 25x25 image</div>
28 <div style='cursor: url(resources/greenbox.png) 0 0, pointer'>Image with expli cit hot spot at (0,0)</div> 28 <div style='cursor: url(resources/greenbox.png) 0 0, pointer'>Image with expli cit hot spot at (0,0)</div>
29 <div style='cursor: url(resources/greenbox.png) 20 10, pointer'>Image with exp licit hot spot at (20,10)</div> 29 <div style='cursor: url(resources/greenbox.png) 20 10, pointer'>Image with exp licit hot spot at (20,10)</div>
30 <div style='cursor: url(resources/greenbox.png) -1 -1, pointer'>Image with exp licit hot spot at (-1,-1)</div> 30 <div style='cursor: url(resources/greenbox.png) -1 -1, pointer'>Image with exp licit hot spot at (-1,-1)</div>
31 <div style='cursor: url(resources/greenbox.png) 30 30, pointer'>Image with exp licit hot spot outside image at (30,30)</div> 31 <div style='cursor: url(resources/greenbox.png) 30 30, pointer'>Image with exp licit hot spot outside image at (30,30)</div>
32 <div style='cursor: url(resources/greenbox-hotspot5-4.cur), pointer'>Image wit h implicit hot spot at (5,4)</div> 32 <div style='cursor: url(resources/greenbox-hotspot5-4.cur), pointer'>Image wit h implicit hot spot at (5,4)</div>
33 <div style='cursor: url(resources/greenbox-hotspot5-4.cur) 20 10, pointer'>Ima ge with explicit hot spot at (20,10) overriding implicit hot spot</div> 33 <div style='cursor: url(resources/greenbox-hotspot5-4.cur) 20 10, pointer'>Ima ge with explicit hot spot at (20,10) overriding implicit hot spot</div>
34 <div style='cursor: url(resources/greenbox-hotspot35-4.cur), pointer'>Image wi th implicit hot spot outside image at (35,4)</div> 34 <div style='cursor: url(resources/greenbox-hotspot35-4.cur), pointer'>Image wi th implicit hot spot outside image at (35,4)</div>
35 <div style='cursor: url(resources/onload-image.png), pointer'>Over large image with fallback to pointer</div> 35 <div style='cursor: url(resources/onload-image.png), pointer'>Over large image with fallback to pointer</div>
36 <div style='cursor: url(#greenbox), pointer'>SVG cursor</div> 36 <div style='cursor: url(#greenbox), pointer'>Local element reference</div>
37 <div style='cursor: url(mouse-cursor_FAIL.html), url(unknown-scheme:cursor_FAI L.png), pointer'>Multiple invalid cursors with fallback to pointer</div> 37 <div style='cursor: url(mouse-cursor_FAIL.html), url(unknown-scheme:cursor_FAI L.png), pointer'>Multiple invalid cursors with fallback to pointer</div>
38 <div style='cursor: url(#nonexistent_FAIL), pointer'>Nonexistent SVG cursor wi th fallback to pointer</div> 38 <div style='cursor: url(#nonexistent_FAIL), pointer'>Nonexistent local element reference with fallback to pointer</div>
39 <div><a href='#'>A link with default cursor</a></div> 39 <div><a href='#'>A link with default cursor</a></div>
40 <div style='cursor: wait'><a href='#'>Link with default cursor overriding wait </a></div> 40 <div style='cursor: wait'><a href='#'>Link with default cursor overriding wait </a></div>
41 <div style='cursor: wait'><div style='cursor: doesntexist'>Wait cursor which s hould not be affected by unknown cursor rule</div></div> 41 <div style='cursor: wait'><div style='cursor: doesntexist'>Wait cursor which s hould not be affected by unknown cursor rule</div></div>
42 </div> 42 </div>
43 <br/> 43 <br/>
44 <div id="console"></div> 44 <div id="console"></div>
45 <script> 45 <script>
46 46
47 var testContainer = document.getElementById('test-container'); 47 var testContainer = document.getElementById('test-container');
48 48
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 window.jsTestIsAsync = true; 84 window.jsTestIsAsync = true;
85 } 85 }
86 86
87 // Now wait for each image to load or fail to load before starting tests. 87 // Now wait for each image to load or fail to load before starting tests.
88 // Without this we can get null images in the cursors - eg. no known size. 88 // Without this we can get null images in the cursors - eg. no known size.
89 preloadImagesFromStyle(testContainer, 9, runTests, /(#greenbox|_FAIL)/); 89 preloadImagesFromStyle(testContainer, 9, runTests, /(#greenbox|_FAIL)/);
90 90
91 </script> 91 </script>
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698