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 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
4 <html>
5 <head>
6 <link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
7 <style>
8 #scroll {
9 width: 100px;
10 height: 100px;
11 border: 1px solid black;
12 white-space: nowrap;
13 }
14 #scroll div {
15 display: inline-block;
16 }
17 #sticky {
18 width: 1px;
19 height: 10px;
20 background-color: black;
21 }
22 </style>
23 <body>
24 <div id="scroll">
25 <div id="sticky"></div>
26 </div>
27 </body>
28 </html>