summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/386310-binding.xml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/386310-binding.xml')
-rw-r--r--layout/reftests/bugs/386310-binding.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/bugs/386310-binding.xml b/layout/reftests/bugs/386310-binding.xml
new file mode 100644
index 000000000..cf5256623
--- /dev/null
+++ b/layout/reftests/bugs/386310-binding.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<bindings xmlns="http://www.mozilla.org/xbl"
+ xmlns:html="http://www.w3.org/1999/xhtml">
+
+ <binding id="prepend">
+ <content>
+ <span/>
+ <children/>
+ </content>
+ </binding>
+
+ <binding id="append">
+ <content>
+ <children/>
+ <span/>
+ </content>
+ </binding>
+
+ <binding id="prepend-with-comment-fix" extends="#prepend">
+ <implementation>
+ <constructor>
+ var span = document.createComment("xbl generated comment to prevent bug #36");
+ this.insertBefore(span, this.firstChild);
+ </constructor>
+ </implementation>
+ </binding>
+</bindings>