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