layout/xul/crashtests/399013.xul

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:e92061a6699d
1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
2 <menulist id="b" style="display: -moz-groupbox;">
3 <panel id="c" style=" position: absolute;">
4 <popup onunderflow="document.getElementById('c').removeAttribute('style')"/>
5 </panel>
6 <menupopup id="a" style="display: -moz-stack;">
7 <menulist/>
8 </menupopup>
9 <panel style="display: -moz-deck;" onoverflow="document.getElementById('b').removeAttribute('style')">
10 <popup style="display: -moz-deck;"/>
11 </panel>
12 </menulist>
13
14 <script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
15 function doe() {
16 document.getElementById('c').removeAttribute('style');
17 document.documentElement.boxObject.height;
18 document.getElementById('b').removeAttribute('style');
19 document.getElementById('a').setAttribute('selected', 'true');
20 document.getElementById('a').setAttribute('style', 'position: fixed;');
21 document.documentElement.boxObject.height;
22 document.getElementById('a').removeAttribute('style');
23 }
24
25 function doe2() {
26 window.location.reload();
27 }
28 setTimeout(doe2, 200);
29 setTimeout(doe,100);
30 ]]></script>
31 </window>

mercurial