Bug 1880273 [wpt PR 44583] - WebKit export of https://bugs.webkit.org/show_bug.cgi...
[gecko.git] / editor / reftests / input-text-notheme-onfocus-reframe-ref.html
blobe97f55f1602e68b1d1be440be42be921e6e181f3
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <head>
4 <title>bug 536421</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <style>
7 input { border:1px solid blue; }
8 </style>
9 </head>
10 <body onload="doTest()">
11 <input value="test" id="textbox" onfocus="triggerBug();" type="text">
12 <script type="text/javascript">
13 function finishTest()
15 document.documentElement.removeAttribute("class");
17 function triggerBug()
19 finishTest();
21 function doTest()
23 var t = document.getElementById("textbox");
24 t.focus();
26 </script>
27 </body>
28 </html>