summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/120834-1a.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/120834-1a.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/bugs/120834-1a.html b/layout/reftests/bugs/120834-1a.html
new file mode 100644
index 0000000000..4a151edf30
--- /dev/null
+++ b/layout/reftests/bugs/120834-1a.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+span { color: green }
+:checked + span { color: red }
+input { display: none }
+</style>
+
+<body>
+<input checked="checked" id="foo"><span>There should be no red</span>
+</body>
+</html>