|
1 <html style="width: 1px;" class="reftest-wait"><head style="float: left; position: fixed; display: initial;" id="head"> |
|
2 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
|
3 |
|
4 |
|
5 |
|
6 <script style="display: none;" type="text/javascript;version=1.7"> |
|
7 |
|
8 var iter; |
|
9 var interv; |
|
10 |
|
11 function olo() |
|
12 { |
|
13 iter = foo(); |
|
14 interv = setInterval(neext, 30); |
|
15 } |
|
16 |
|
17 function neext() |
|
18 { |
|
19 try { |
|
20 iter.next(); |
|
21 } catch (e if e instanceof StopIteration) { |
|
22 clearInterval(interv); |
|
23 } |
|
24 } |
|
25 |
|
26 function foo() |
|
27 { |
|
28 var docElem = document.documentElement; |
|
29 var head = document.getElementById("head"); |
|
30 var br1 = document.getElementById("br1"); |
|
31 var br2 = document.getElementById("br2"); |
|
32 var br3 = document.getElementById("br3"); |
|
33 var br4 = document.getElementById("br4"); |
|
34 var br5 = document.getElementById("br5"); |
|
35 var br6 = document.getElementById("br6"); |
|
36 var br7 = document.getElementById("br7"); |
|
37 var tableRow = document.getElementById("tableRow"); |
|
38 |
|
39 br6.style.width = "1px"; |
|
40 br1.style.overflow = "visible"; |
|
41 head.style.cssFloat = "left"; |
|
42 br4.style.position = "static"; |
|
43 br7.style.color = "green"; |
|
44 br3.style.height = "auto"; |
|
45 yield; |
|
46 |
|
47 br7.style.width = "2px"; |
|
48 yield; |
|
49 |
|
50 br5.style.background = "yellow"; |
|
51 br7.style.color = "black"; |
|
52 yield; |
|
53 |
|
54 br7.style.display = "table-cell"; |
|
55 head.style.position = "fixed"; |
|
56 br5.style.display = "inline"; |
|
57 br3.style.clear = "both"; |
|
58 br6.style.visibility = "visible"; |
|
59 yield; |
|
60 |
|
61 tableRow.style.display = "list-item"; |
|
62 br3.style.width = "auto"; |
|
63 br2.style.clear = "none"; |
|
64 head.style.display = "initial"; // doesn't seem to crash when this is "block"! |
|
65 docElem.style.width = "1px"; |
|
66 |
|
67 document.documentElement.removeAttribute("class"); |
|
68 } |
|
69 |
|
70 </script> |
|
71 |
|
72 <style> |
|
73 </style> |
|
74 |
|
75 </head><body onload="setTimeout(olo, 30);"> |
|
76 |
|
77 <br style="overflow: visible;" id="br1"> |
|
78 <br style="clear: none;" id="br2"> |
|
79 <br style="height: auto; clear: both; width: auto;" id="br3"> |
|
80 <br style="position: static;" id="br4"> |
|
81 <br style="background: yellow none repeat scroll 0% 0%; background-clip: initial; background-origin: initial; -moz-background-inline-policy: initial; display: inline;" id="br5"> |
|
82 <br style="width: 1px; visibility: visible;" id="br6"> |
|
83 <br style="color: black; width: 2px; display: table-cell;" id="br7"> |
|
84 <table border="1"><tbody><tr style="display: list-item;" id="tableRow"><td>x</td></tr></tbody></table> |
|
85 |
|
86 </body></html> |