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