diff options
Diffstat (limited to 'layout/base/crashtests/336999-1.xul')
-rw-r--r-- | layout/base/crashtests/336999-1.xul | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/base/crashtests/336999-1.xul b/layout/base/crashtests/336999-1.xul new file mode 100644 index 000000000..981d54026 --- /dev/null +++ b/layout/base/crashtests/336999-1.xul @@ -0,0 +1,26 @@ +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait"> + +<script> + +function boom() +{ + document.getElementById("xxx").style.position = "fixed"; + document.documentElement.removeAttribute("class"); +} + +window.addEventListener("load", function(){setTimeout(boom, 30)}, 0); + +</script> + + + <hbox id="xxx" style="position: absolute;"> + <label value="X" /> + <menulist> + <menupopup> + <menuitem label="Y" /> + </menupopup> + </menulist> + </hbox> + + +</window> |