summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/395331-1.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/395331-1.xml')
-rw-r--r--layout/reftests/bugs/395331-1.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/bugs/395331-1.xml b/layout/reftests/bugs/395331-1.xml
new file mode 100644
index 000000000..1d7c080ef
--- /dev/null
+++ b/layout/reftests/bugs/395331-1.xml
@@ -0,0 +1,19 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<head>
+<style>
+.base { -moz-binding: url("395331-xbl.xml#base"); }
+.inner { -moz-binding: url("395331-xbl.xml#inner"); }
+</style>
+<script>
+function boom()
+{
+ var x = document.getElementById("x");
+ x.removeChild(x.firstChild);
+}
+</script>
+</head>
+<body onload="boom();">
+<xul:box class="base" id="x" style="height:2em;">Hello</xul:box>Kitty
+</body>
+</html>