[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / images / imagemap-focus-ring-outline-color-not-inherited-from-map.html
1 <html>
2 <head>
3 <style>
4 map { outline-color: red; }
5 </style>
6 <script>
7 window.onload = function()
8 {
9     document.getElementById("area").focus();
10 }
11 </script>
12 </head>
13 <body>
14 <p>Assuming the port-specific theme draws focus rings, this test can be used to ensure that the focus ring color is not inherited for an &lt;area&gt; (by default) as per <a href="http://www.w3.org/TR/CSS2/ui.html#dynamic-outlines">section 18.4 "Dynamic outlines: the 'outline' property" of the CSS2.1 spec</a>. This test FAILED if a red-colored focus ring is drawn around 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 src="imagemap.jpg" width="128" height="128" usemap="#imagemap" />
19 </body>
20 </head>
21 </html>