diff options
Diffstat (limited to 'layout/generic/crashtests/369038-1.xhtml')
-rw-r--r-- | layout/generic/crashtests/369038-1.xhtml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/generic/crashtests/369038-1.xhtml b/layout/generic/crashtests/369038-1.xhtml new file mode 100644 index 000000000..dea9972e6 --- /dev/null +++ b/layout/generic/crashtests/369038-1.xhtml @@ -0,0 +1,29 @@ +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + class="reftest-wait"> + +<head> +<script> + +var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; + +function boom() +{ + var hbox = document.getElementById("hbox"); + var checkbox = document.createElementNS(XUL_NS, "checkbox"); + + hbox.appendChild(checkbox); + + document.documentElement.removeAttribute("class"); +} + +</script> +</head> + +<body onload="setTimeout(boom, 30)"> + +<xul:scrollbar><span><xul:hbox id="hbox"/></span></xul:scrollbar> + +</body> + +</html> |