summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml')
-rw-r--r--layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml b/layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml
new file mode 100644
index 000000000..e6f9598a8
--- /dev/null
+++ b/layout/reftests/css-selectors/sibling-combinators-on-anon-content-1.xhtml
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <bindings xmlns="http://www.mozilla.org/xbl"
+ xmlns:html="http://www.w3.org/1999/xhtml">
+ <binding id="x">
+ <content>
+ <html:span class="a"></html:span>
+ <html:span class="b">This should be green</html:span>
+ <children/>
+ </content>
+ </binding>
+ </bindings>
+ <style>
+ #foo { -moz-binding: url("#x"); }
+ .a + .b { color: green; }
+ </style>
+ </head>
+ <body>
+ <span id="foo"></span>
+ </body>
+</html>