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 lang="en-US" class="reftest-print">
3 <head>
4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title>
5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012">
6 <meta name="flags" content="paged"><style type="text/css">
7 @page { size:5in 3in; margin:0.5in; }
8 html,body {
9 color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%;
10 }
12 .test {
13 height:60%;
14 float:left;
15 clear:left;
16 background-color:blue;
17 }
18 </style>
19 </head>
20 <body>
21 <br style="clear:both">
22 <div class="test">1</div>
23 <div style="clear:both;">X<br>Y</div>
24 <div class="test" style="page-break-before:always">2</div>
25 </body>
26 </html>