summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/703186-2-ref.html
blob: 7a9ed8c804052802ef4ad2417d1e65871b6cfd77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script type="text/javascript">
      function init()
      {
        document.getElementById("link").focus();
        setTimeout(doTest, 0);
      }

      function doTest()
      {
        document.getElementById("link").blur();
        setTimeout(finish, 0);
      }

      function finish()
      {
        document.documentElement.removeAttribute("class");
      }
    </script>
  </head>
  <body onload="requestAnimationFrame(_ => setTimeout(init, 0));">
    <img src="100x80-white-rect-top-right.png" usemap="#map">
    <map name="map">
      <area id="link" shape="rect" coords="10,10,30,30" href="about:blank">
    </map>
  </body>
</html>