summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml')
-rw-r--r--layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml b/layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml
new file mode 100644
index 000000000..479bed4ef
--- /dev/null
+++ b/layout/reftests/css-selectors/sibling-combinators-on-anon-content-ref.xhtml
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <style>
+ .a + .b { color: green; }
+ </style>
+ </head>
+ <body>
+ <span><span class="a"></span>
+ <span class="b">This should be green</span></span>
+ </body>
+</html>