layout/reftests/bugs/703186-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/703186-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <head>
     1.7 +    <script type="text/javascript">
     1.8 +      function init()
     1.9 +      {
    1.10 +        window.addEventListener("blur", function (e) { e.stopPropagation(); },
    1.11 +                                true);
    1.12 +        document.getElementById("link").focus();
    1.13 +        setTimeout(doTest, 0);
    1.14 +      }
    1.15 +
    1.16 +      function doTest()
    1.17 +      {
    1.18 +        document.getElementById("link").blur();
    1.19 +        setTimeout(finish, 0);
    1.20 +      }
    1.21 +
    1.22 +      function finish()
    1.23 +      {
    1.24 +        document.documentElement.removeAttribute("class");
    1.25 +      }
    1.26 +    </script>
    1.27 +  </head>
    1.28 +  <body onload="setTimeout(init, 0);">
    1.29 +    <img src="100x80-white-rect-top-right.png" usemap="#map">
    1.30 +    <map name="map">
    1.31 +      <area id="link" shape="rect" coords="10,10,30,30" href="about:blank">
    1.32 +    </map>
    1.33 +  </body>
    1.34 +</html>

mercurial