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

Side by Side Diff: LayoutTests/fast/images/imagemap-polygon-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 <body> 2 <body>
3 <p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an &lt;area shape=&quot;polygon&quot;&gt;. This test PASSED if a cross-shaped focus ring is drawn around the &lt;area&gt; in the imagemap (below).</p> 3 <p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that a focus ring is drawn for an &lt;area shape=&quot;polygon&quot;&gt;. This test PASSED if a cross-shaped focus ring is drawn around the &lt;area&gt; in the imagemap (below).</p>
4 <map name="imagemap"> 4 <map name="imagemap">
5 <area id="area" shape="polygon" coords="44,4,84,4,84,44,124,44,124,84,84,84, 84,124,44,124,44,84,4,84,4,44,44,44" href="#dummy" /> 5 <area id="area" shape="polygon" coords="44,4,84,4,84,44,124,44,124,84,84,84, 84,124,44,124,44,84,4,84,4,44,44,44" href="#dummy" />
6 </map> 6 </map>
7 <img src="dummy.gif" width="128" height="128" usemap="#imagemap" /> 7 <img width="128" height="128" usemap="#imagemap" />
8 <script>document.getElementById("area").focus()</script> 8 <script>document.getElementById("area").focus()</script>
9 </body> 9 </body>
10 </html> 10 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698