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

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

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