summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/color-on-visited-text-1.html
blob: 101c9653dcd7751c4741568354441b7497122824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<style>
  a {
    display: block;
    text-decoration: none;
  }
  :link {
    color: blue;
  }
  :visited {
    color: purple;
  }
  .outer::first-line {
    color: green;
  }
</style>
<a class="outer" href="visited-page.html">Visited</a>
<a class="outer" href="visited-page.html"><span>Visited with span</span></a>
<a class="outer" href="visited-page.html"><a href="unvisited-page.html">Visited with inner unvisited</a></a>
<a class="outer" href="visited-page.html"><a href="visited-page.html">Visited with inner visited</a></a>