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

Side by Side Diff: LayoutTests/fast/images/imagemap-focus-ring.html

Issue 481753002: Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 1 month 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 window.onload = function() 4 window.onload = function()
5 { 5 {
6 document.getElementById("area").focus(); 6 document.getElementById("area").focus();
7 } 7 }
8 </script> 8 </script>
9 </head> 9 </head>
10 <body> 10 <body>
11 <p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an imagemap. This test PASSED if a focus r ing is drawn around the &lt;area&gt; in the imagemap (below).</p> 11 <p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an imagemap. This test PASSED if a focus r ing is drawn around the &lt;area&gt; in the imagemap (below).</p>
12 <map name="imagemap"> 12 <map name="imagemap">
13 <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" /> 13 <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" />
14 </map> 14 </map>
15 <img src="imagemap.jpg" width="128" height="128" usemap="#imagemap" ismap /> 15 <img width="128" height="128" usemap="#imagemap" ismap />
16 </body> 16 </body>
17 </head> 17 </head>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698