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

Unified Diff: LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data.html

Issue 1134903002: content: shouldn't prevent fallback content on an image getting displayed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 7 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/replaced/image-map-on-image-with-inline-content-data-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data.html
diff --git a/LayoutTests/fast/replaced/image-map-alt-content.html b/LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data.html
similarity index 57%
copy from LayoutTests/fast/replaced/image-map-alt-content.html
copy to LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data.html
index 9d22e647b7af3c3c84ab728573a50f2df0bdd917..1201286cf82307af3d94f349e22eddcc84be80a4 100644
--- a/LayoutTests/fast/replaced/image-map-alt-content.html
+++ b/LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data.html
@@ -1,8 +1,9 @@
-<head>
-</head>
-<img id="image" height="100" width="100" src="" usemap="#map">
+<style>
+.img { content: attr(blank); width: 100px; height: 100px;}
+</style>
+<img src="" usemap="#map" class="img">
<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>
+<p>crbug.com/485414: Inline content data shouldn't prevent fallback content in an image from displaying and responding to hit tests. Click on the rectangle to test. </p>
<div id="result">FAIL: Area not clicked.</div>
<script>
if (window.testRunner) {
« no previous file with comments | « no previous file | LayoutTests/fast/replaced/image-map-on-image-with-inline-content-data-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698