1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-visited/selector-child-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 +<head> 1.7 +<title>Test for privacy restrictions on :visited (Bug 147777)</title> 1.8 +<style> 1.9 + 1.10 +a { text-decoration: none } 1.11 +:link > :link { color: olive; } 1.12 +:visited > :link { color: red; } 1.13 +:link > :visited { color: fuchsia; } 1.14 +:visited > :visited { color: red; } 1.15 + 1.16 +</style> 1.17 +</head> 1.18 +<body> 1.19 +<a href="unvisited-page.html"><a href="unvisited-page.html">unvisited / unvisited</a></a> 1.20 +<a href="unvisited-page.html"><a href="visited-page.html">unvisited / visited</a></a> 1.21 +<a href="visited-page.html"><a href="unvisited-page.html">visited / unvisited</a></a> 1.22 +<a href="visited-page.html"><a href="visited-page.html">visited / visited</a></a> 1.23 +</body> 1.24 +</html>