summaryrefslogtreecommitdiff
path: root/layout/reftests/css-visited/selector-child-2.xhtml
blob: 35ebfb7b241955bb215914675d82d754172a59a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
<style>

a { text-decoration: none }
:link > :link { color: olive; }
:visited > :link { color: red; }
:link > :visited { color: fuchsia; }
:visited > :visited { color: red; }

</style>
</head>
<body>
<a href="unvisited-page.html"><a href="unvisited-page.html">unvisited / unvisited</a></a>
<a href="unvisited-page.html"><a href="visited-page.html">unvisited / visited</a></a>
<a href="visited-page.html"><a href="unvisited-page.html">visited / unvisited</a></a>
<a href="visited-page.html"><a href="visited-page.html">visited / visited</a></a>
</body>
</html>