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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLAreaElement/area-cursor-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
diff --git a/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html b/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
new file mode 100644
index 0000000000000000000000000000000000000000..36fbb0226e9c696482b25684ba2e2f951fcab9cc
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<head>
+<script>
+onload = function() {
+ if (!window.testRunner)
+ return;
+
+ testRunner.dumpAsText();
+ document.body.offsetLeft;
+ var target = document.querySelector('area');
+ eventSender.mouseMoveTo((target.offsetLeft + target.offsetRight) / 2,
+ (target.offsetTop + target.offsetTop) / 2);
+ document.getElementById('result').innerHTML = '' + window.getComputedStyle(target).cursor;
+}
+</script>
+</head>
+<body style="cursor:default">
+ <map id="menu" name="menu">
+ <area shape="rect" coords="0,0,199,199" href="dummy.gif"/>
+ </map>
+ <img style="cursor:auto;width:200px;height:200px" usemap="#menu" src="dummy.gif"/>
+ <p>Test for <a href="crbug.com/455253">crbug.com/455253</a>: cursor pointer on image-link</p>
+ <p>Result: <span id="result">default</span></p>
+</body>
« 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