summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/471594-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/471594-1.xhtml')
-rw-r--r--layout/reftests/bugs/471594-1.xhtml26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/bugs/471594-1.xhtml b/layout/reftests/bugs/471594-1.xhtml
new file mode 100644
index 000000000..7ffc973ea
--- /dev/null
+++ b/layout/reftests/bugs/471594-1.xhtml
@@ -0,0 +1,26 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<bindings xmlns="http://www.mozilla.org/xbl">
+ <binding id="x"><content><span>a
+b<children xmlns="http://www.mozilla.org/xbl"/></span></content></binding>
+</bindings>
+<style>
+ div#d {
+ white-space: pre;
+ -moz-binding: url(#x);
+ }
+ span#s {
+ display: inline-block;
+ }
+</style>
+<script>
+function boom()
+{
+ document.getElementById("s").style.display = "inline";
+}
+</script>
+</head>
+<body onload="boom();">
+ <div id="d"><span id="s">s</span></div>
+</body>
+</html>