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

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

Issue 696123002: Revert of Use Shadow DOM to display fallback content for images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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; that is overflowing the bounds for the img element. This test PASSED if a clippe d star-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; that is overflowing the bounds for the img element. This test PASSED if a clippe d star-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="60,-10,0,160,150,40,-30,40,120,160" href="#dummy" /> 5 <area id="area" shape="polygon" coords="60,-10,0,160,150,40,-30,40,120,160" href="#dummy" />
6 </map> 6 </map>
7 <img width="128" height="128" usemap="#imagemap" /> 7 <img src="dummy.gif" 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