summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-selectors/state-dependent-in-any-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-selectors/state-dependent-in-any-ref.html')
-rw-r--r--layout/reftests/css-selectors/state-dependent-in-any-ref.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/css-selectors/state-dependent-in-any-ref.html b/layout/reftests/css-selectors/state-dependent-in-any-ref.html
new file mode 100644
index 000000000..cb69dc19e
--- /dev/null
+++ b/layout/reftests/css-selectors/state-dependent-in-any-ref.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ span { color: green; }
+ </style>
+ </head>
+ <body>
+ <input value="Test"><span>This should be green</span>
+ </body>
+</html>