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

Side by Side Diff: LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html

Issue 934563002: cursor should be pointer on image-link. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLAreaElement/area-cursor-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script>
4 onload = function() {
5 if (!window.testRunner)
6 return;
7
8 testRunner.dumpAsText();
9 document.body.offsetLeft;
10 var target = document.querySelector('area');
11 eventSender.mouseMoveTo((target.offsetLeft + target.offsetRight) / 2,
12 (target.offsetTop + target.offsetTop) / 2);
13 document.getElementById('result').innerHTML = '' + window.getComputedStyle(t arget).cursor;
14 }
15 </script>
16 </head>
17 <body style="cursor:default">
18 <map id="menu" name="menu">
19 <area shape="rect" coords="0,0,199,199" href="dummy.gif"/>
20 </map>
21 <img style="cursor:auto;width:200px;height:200px" usemap="#menu" src="dummy.gi f"/>
22 <p>Test for <a href="crbug.com/455253">crbug.com/455253</a>: cursor pointer on image-link</p>
23 <p>Result: <span id="result">default</span></p>
24 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLAreaElement/area-cursor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698