2 <html class=
"reftest-wait"><head>
4 <title>Testcase #
1 for bug
1253977</title>
5 <style type=
"text/css">
7 * { -moz-appearance:none
; }
9 border:2px solid black
;
12 outline: 2px dashed black
;
19 <select><option>1<option>2</select>
25 var s
= document
.querySelector("select");
26 var b
= document
.querySelector("input");
28 document
.body
.offsetHeight
;
29 setTimeout(function(){ s
.style
.display
= 'none'; document
.body
.offsetHeight
; }, 2);
30 setTimeout(function(){ b
.focus(); document
.body
.offsetHeight
; }, 3);
31 setTimeout(function(){ s
.style
.display
= 'inline'; document
.body
.offsetHeight
; }, 4);
32 setTimeout(function(){ document
.documentElement
.removeAttribute("class"); }, 100);
36 window
.addEventListener("MozReftestInvalidate", runTests
);