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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <style>
2 </head> 2 .img { content: attr(blank); width: 100px; height: 100px;}
3 <img id="image" height="100" width="100" src="" usemap="#map"> 3 </style>
4 <img src="" usemap="#map" class="img">
4 <map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javasc ript:void(document.getElementById('result').innerHTML='PASS: Area clicked.')"></ map> 5 <map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javasc ript:void(document.getElementById('result').innerHTML='PASS: Area clicked.')"></ map>
5 <p>crbug.com/466116: Image maps not working when alt content displayed. Click on the rectangle to test. </p> 6 <p>crbug.com/485414: Inline content data shouldn't prevent fallback content in a n image from displaying and responding to hit tests. Click on the rectangle to t est. </p>
6 <div id="result">FAIL: Area not clicked.</div> 7 <div id="result">FAIL: Area not clicked.</div>
7 <script> 8 <script>
8 if (window.testRunner) { 9 if (window.testRunner) {
9 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
10 eventSender.mouseMoveTo(50, 50); 11 eventSender.mouseMoveTo(50, 50);
11 eventSender.mouseDown(); 12 eventSender.mouseDown();
12 eventSender.mouseUp(); 13 eventSender.mouseUp();
13 } 14 }
14 </script> 15 </script>
OLDNEW
« 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