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

Unified Diff: LayoutTests/fast/replaced/image-map-alt-content.html

Issue 1094133004: Image maps should work for images with alt content (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 8 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
Index: LayoutTests/fast/replaced/image-map-alt-content.html
diff --git a/LayoutTests/fast/replaced/image-map-alt-content.html b/LayoutTests/fast/replaced/image-map-alt-content.html
new file mode 100644
index 0000000000000000000000000000000000000000..9d22e647b7af3c3c84ab728573a50f2df0bdd917
--- /dev/null
+++ b/LayoutTests/fast/replaced/image-map-alt-content.html
@@ -0,0 +1,14 @@
+<head>
+</head>
+<img id="image" height="100" width="100" src="" usemap="#map">
+<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:void(document.getElementById('result').innerHTML='PASS: Area clicked.')"></map>
+<p>crbug.com/466116: Image maps not working when alt content displayed. Click on the rectangle to test. </p>
+<div id="result">FAIL: Area not clicked.</div>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ eventSender.mouseMoveTo(50, 50);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698