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

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

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

mercurial