Tue, 06 Jan 2015 21:39:09 +0100
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>
3 <head>
4 <style type="text/css">
5 .separator {
6 height: 20px;
7 background-color: blue;
8 }
9 #overflow {
10 overflow-y: scroll;
11 height: 160px;
12 margin: 20px 0;
13 padding-top: 40px;
14 background-color: lightgreen;
15 }
16 #child {
17 height: 160px;
18 background-color: green;
19 }
20 #margin {
21 height: 40px;
22 }
23 </style>
24 </head>
25 <body>
26 <div class="separator"></div>
27 <div id="overflow">
28 <div id="child"></div>
29 <div id="margin"></div>
30 </div>
31 <div class="separator"></div>
32 </body>
33 </html>