layout/reftests/css-visited/selector-child-2.xhtml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <title>Test for privacy restrictions on :visited (Bug 147777)</title>
michael@0 5 <style>
michael@0 6
michael@0 7 a { text-decoration: none }
michael@0 8 :link > :link { color: olive; }
michael@0 9 :visited > :link { color: red; }
michael@0 10 :link > :visited { color: fuchsia; }
michael@0 11 :visited > :visited { color: red; }
michael@0 12
michael@0 13 </style>
michael@0 14 </head>
michael@0 15 <body>
michael@0 16 <a href="unvisited-page.html"><a href="unvisited-page.html">unvisited / unvisited</a></a>
michael@0 17 <a href="unvisited-page.html"><a href="visited-page.html">unvisited / visited</a></a>
michael@0 18 <a href="visited-page.html"><a href="unvisited-page.html">visited / unvisited</a></a>
michael@0 19 <a href="visited-page.html"><a href="visited-page.html">visited / visited</a></a>
michael@0 20 </body>
michael@0 21 </html>

mercurial