summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/selector-any-sibling-1.html
blob: 25f00c654eb4092132f0d595e5d5bfaa95082b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<title>Test for privacy restrictions on :visited (Bug 147777)</title>
<style>

a { text-decoration: none }
:link ~ span { color: olive; }
:visited ~ span { color: fuchsia; }

</style>
<div><a href="unvisited-page.html"></a><span>unvisited</span></div>
<div><a href="visited-page.html"></a><span>visited</span></div>