Bug 1921345 - Remove global constructor from js/src/vm/SavedStacks.cpp r=arai
[gecko.git] / layout / reftests / first-line / stress-1.html
blob1add82e89bc6c0fcbd010162548974a0aac49ebb
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
5 <style>
6 .fl:first-line { }
7 .inh { position: inherit; }
8 .abs { position: absolute; }
9 body { visibility: hidden; }
10 </style>
12 <script>
14 function boom()
16 x = document.getElementById("x");
17 y = document.getElementById("y");
19 x.setAttribute('class', "fl abs");
20 y.setAttribute('class', "inh");
21 setTimeout(boom2, 5);
24 function boom2()
26 y.setAttribute('class', "abs");
27 document.body.offsetWidth;
28 document.documentElement.className = "";
31 </script>
33 </head>
35 <body onload="setTimeout(boom, 5);">
36 <div id="x">
37 <p id="y">foo</p>
38 </div>
39 </body>
41 </html>