editor/reftests/input-text-notheme-onfocus-reframe-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/reftests/input-text-notheme-onfocus-reframe-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +	<title>bug 536421</title>
     1.8 +	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     1.9 +<style>
    1.10 +input { border:1px solid blue; }
    1.11 +</style>
    1.12 +</head>
    1.13 +<body onload="doTest()">
    1.14 +  <input value="test" id="textbox" onfocus="triggerBug();" type="text">
    1.15 +  <script type="text/javascript">
    1.16 +    function finishTest()
    1.17 +    {
    1.18 +      document.documentElement.removeAttribute("class");
    1.19 +    }
    1.20 +    function triggerBug()
    1.21 +    {
    1.22 +      finishTest();
    1.23 +    }
    1.24 +    function doTest()
    1.25 +    {
    1.26 +      var t = document.getElementById("textbox");
    1.27 +      t.focus();
    1.28 +    }
    1.29 +  </script>
    1.30 +</body>
    1.31 +</html>

mercurial