summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/703186-2.html
blob: 9689ccddd5d118f9203e5124a44a337de80aca41 (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
30
31
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script type="text/javascript">
      function init()
      {
        window.addEventListener("blur", function (e) { e.stopPropagation(); },
                                true);
        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>