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

Side by Side Diff: LayoutTests/fast/images/imagemap-overflowing-circle-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 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;circle&quot;&gt; t hat overflows the img element. This test PASSED if a half-circule-shaped focus r ing is drawn for 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;circle&quot;&gt; t hat overflows the img element. This test PASSED if a half-circule-shaped focus r ing is drawn for the &lt;area&gt; in the imagemap (below).</p>
4 <map name="imagemap"> 4 <map name="imagemap">
5 <area id="area" shape="circle" coords="128,64,61" href="#dummy" /> 5 <area id="area" shape="circle" coords="128,64,61" 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