layout/reftests/backgrounds/background-layers-1b.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
michael@0 4
michael@0 5 <style type="text/css">
michael@0 6 *#test1 > * {
michael@0 7 background: url(red-128-alpha-32x32.png) center,
michael@0 8 url(green-circle-alpha-32x32.png) center fixed;
michael@0 9 background-color: yellow;
michael@0 10 width: 32px;
michael@0 11 height: 32px;
michael@0 12 }
michael@0 13
michael@0 14 *#test2 > * {
michael@0 15 background: url(red-128-alpha-32x32.png) center,
michael@0 16 url(green-circle-alpha-32x32.png) center fixed,
michael@0 17 url(yellow-32x32.png);
michael@0 18 background-color: red;
michael@0 19 width: 32px;
michael@0 20 height: 32px;
michael@0 21 }
michael@0 22
michael@0 23 *#test3 > * {
michael@0 24 background: url(red-128-alpha-32x32.png) center,
michael@0 25 url(green-circle-alpha-32x32.png) center fixed,
michael@0 26 url(yellow-32x32.png);
michael@0 27 width: 32px;
michael@0 28 height: 32px;
michael@0 29 }
michael@0 30
michael@0 31 table, table * {
michael@0 32 padding: 0;
michael@0 33 margin: 0;
michael@0 34 }
michael@0 35 </style>
michael@0 36 </head>
michael@0 37
michael@0 38 <body>
michael@0 39 <table cellpadding="0" cellspacing="0">
michael@0 40 <tr id="test1"><td></td><td></td><td></td></tr>
michael@0 41 <tr id="test2"><td></td><td></td><td></td></tr>
michael@0 42 <tr id="test3"><td></td><td></td><td></td></tr>
michael@0 43 </table>
michael@0 44 </body>
michael@0 45
michael@0 46 </html>

mercurial