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 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html xmlns="http://www.w3.org/1999/xhtml">
7 <head>
8 <style>
9 div.flexbox {
10 height: 50px;
11 width: 50px;
12 border: 2px dotted black;
13 display: flex;
14 flex-direction: column;
15 }
16 iframe {
17 width: 50px;
18 height: 50px;
19 background: purple;
20 /* min-height: min-content isn't supported yet (bug 852367), but we'd
21 like this to work when it is supported. */
22 min-height: -moz-min-content;
23 }
24 </style>
25 </head>
26 <body>
27 <div class="flexbox">
28 <iframe/>
29 </div>
30 </body>
31 </html>