Backed out changeset b94afd94ed9c (bug 1924861) for causing multiple bc failures...
[gecko.git] / layout / reftests / forms / select / focusring-1-ref.html
blob9f01908fd59de948a65e678b267c75bf7a818259
1 <!DOCTYPE HTML>
2 <html class="reftest-wait"><head>
3 <meta charset="utf-8">
4 <title>Testcase #1 for bug 1253977</title>
5 <style type="text/css">
7 * { -moz-appearance:none; }
8 :focus {
9 border:2px solid black;
11 :-moz-focusring {
12 outline: 2px dashed black;
15 </style>
16 </head>
17 <body>
19 <select><option>1<option>2</select>
20 <input>
22 <script>
24 function runTests() {
25 var b = document.querySelector("input");
26 b.focus();
27 document.body.offsetHeight;
28 setTimeout(function(){ document.body.offsetHeight; document.documentElement.removeAttribute("class"); }, 100);
31 window.focus();
32 window.addEventListener("MozReftestInvalidate", runTests);
34 </script>
36 </body>
37 </html>