Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / images / imagemap-focus-ring-zoom-style.html
blob021e313a180e25d14db58212fafdf5034b24c015
1 <html>
2 <head>
3 <script>
4 window.onload = function()
6 document.getElementById("area").focus();
8 </script>
9 <style>
10 img { zoom: 2.0; }
11 </style>
12 </head>
13 <body>
14 <p>Assuming the port-specific theme draws focus rings, this test ensures that a focus ring is drawn correctly for an imagemap when the zoom style is applied to the image. This test PASSED if a focus ring is drawn around the perimeter of the &lt;area&gt; in the imagemap (below).</p>
15 <map name="imagemap">
16 <area id="area" shape="rect" coords="0,0,128,128" href="#dummy" />
17 </map>
18 <img width="128" height="128" usemap="#imagemap" ismap />
19 </body>
20 </head>
21 </html>