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