Thu, 15 Jan 2015 15:59:08 +0100
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.
1 <!-- Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ -->
3 <!-- This testcase has a relatively-positioned -moz-box element, which should
4 form a containing block for its absolutely positioned child. -->
5 <html>
6 <head>
7 <style>
8 .box { display: -moz-box }
9 .relpos_parent {
10 position: relative;
11 width: 100px;
12 height: 100px;
13 background: lightblue;
14 }
15 .abspos_child {
16 position: absolute;
17 left: 30px;
18 bottom: 10px;
19 width: 20px;
20 height: 20px;
21 background: purple;
22 }
23 </style>
24 </head>
25 <body>
26 <div class="box relpos_parent">
27 <div class="abspos_child"></div>
28 </div>
29 </body>
30 </html>