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) { |