summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/visited-inherit-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-visited/visited-inherit-1.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/css-visited/visited-inherit-1.html b/layout/reftests/css-visited/visited-inherit-1.html
new file mode 100644
index 0000000000..cf53066d38
--- /dev/null
+++ b/layout/reftests/css-visited/visited-inherit-1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<style>
+a { text-decoration: none; color: initial; display: block; margin: 2px; }
+.green { color: green; }
+</style>
+<a href="visited-page.html">
+ <div>
+ <span class="green">Should be green</span>
+ </div>
+</a>