summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/315920-18b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/315920-18b.html')
-rw-r--r--layout/reftests/bugs/315920-18b.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/315920-18b.html b/layout/reftests/bugs/315920-18b.html
new file mode 100644
index 0000000000..37e46efc1a
--- /dev/null
+++ b/layout/reftests/bugs/315920-18b.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ img:-moz-broken ~ label {color: green}
+ label {color: red}
+ img { display: none; }
+ </style>
+ </head>
+ <body>
+ <img src="no-such-scheme:nothing" id="ffximage"/>
+ <label for="ffximage">Text should be green</label>
+ </body>
+</html>