summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/selector-adj-sibling-3.xhtml
blob: 38b2709270ce12b1c1410a503b9cdedd1a5b08b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test for bug 1431539</title>
<style>
  a { text-decoration: none }
  :visited { color: green }
  :-moz-any(:visited) + span {
    color: red;
  }
</style>
</head>
<body>
<a href="visited-page.html">
  <a href="visited-page.html">visited</a>
  <span>Should be green</span>
</a>
</body>
</html>