summaryrefslogtreecommitdiffstats
path: root/layout/reftests/dom/xbl-children-2.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/dom/xbl-children-2.xhtml')
-rw-r--r--layout/reftests/dom/xbl-children-2.xhtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/dom/xbl-children-2.xhtml b/layout/reftests/dom/xbl-children-2.xhtml
new file mode 100644
index 000000000..97b511538
--- /dev/null
+++ b/layout/reftests/dom/xbl-children-2.xhtml
@@ -0,0 +1,28 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xbl="http://www.mozilla.org/xbl">
+<head>
+ <style>
+ .forced { display:block; }
+ </style>
+</head>
+<body>
+ <xbl:children>
+ FAIL
+ </xbl:children>
+
+ <xbl:children class="forced">
+ FAIL
+ </xbl:children>
+
+ <xbl:children />
+
+ <script>
+ var third = document.body.children[2];
+ third.appendChild(document.createTextNode("FAIL"));
+
+ var fourth = document.createElementNS("http://www.mozilla.org/xbl", "children");
+ fourth.appendChild(document.createTextNode("FAIL"));
+ document.body.appendChild(fourth);
+ </script>
+</body>
+</html>