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 <style>
3 #d { overflow:scroll; width:200px; height:200px; background:yellow; }
4 #d2 { right:0; width:100px; height:100px; background:purple; }
5 </style>
6 <fieldset id="d">
7 <div id="d2"></div>
8 </fieldset>
9 <script>
10 d.getBoundingClientRect();
11 d.style.transform = "translateX(100px)";
12 d.getBoundingClientRect();
13 d2.style.position = "absolute";
14 </script>