layout/xul/crashtests/399013.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/crashtests/399013.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     1.5 +<menulist id="b" style="display: -moz-groupbox;">
     1.6 +<panel id="c" style=" position: absolute;">
     1.7 +<popup onunderflow="document.getElementById('c').removeAttribute('style')"/>
     1.8 +</panel>
     1.9 +<menupopup id="a" style="display: -moz-stack;">
    1.10 +<menulist/>
    1.11 +</menupopup>
    1.12 +<panel style="display: -moz-deck;" onoverflow="document.getElementById('b').removeAttribute('style')">
    1.13 +<popup style="display: -moz-deck;"/>
    1.14 +</panel>
    1.15 +</menulist>
    1.16 +
    1.17 +<script id="script" xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
    1.18 +function doe() {
    1.19 +document.getElementById('c').removeAttribute('style');
    1.20 +document.documentElement.boxObject.height;
    1.21 +document.getElementById('b').removeAttribute('style');
    1.22 +document.getElementById('a').setAttribute('selected', 'true');
    1.23 +document.getElementById('a').setAttribute('style', 'position: fixed;');
    1.24 +document.documentElement.boxObject.height;
    1.25 +document.getElementById('a').removeAttribute('style');
    1.26 +}
    1.27 +
    1.28 +function doe2() {
    1.29 +window.location.reload();
    1.30 +}
    1.31 +setTimeout(doe2, 200);
    1.32 +setTimeout(doe,100);
    1.33 +]]></script>
    1.34 +</window>
    1.35 \ No newline at end of file

mercurial