layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-5-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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">
michael@0 7 <style type="text/css">
michael@0 8 @page { size:5in 3in; margin:0.5in; }
michael@0 9 html,body {
michael@0 10 color:black; background-color:white; font-size:16px; padding:0; margin:0;
michael@0 11 }
michael@0 12 p { height: 0.5in; width: 1in; margin:0; background-color:blue; float:left; }
michael@0 13 .test { float:left; clear:left; width:3.3in; }
michael@0 14 </style>
michael@0 15 </head>
michael@0 16 <body>
michael@0 17 <br style="clear:both">
michael@0 18 <div class="test">
michael@0 19 <p>1</p><p>2</p><p>3</p>
michael@0 20 <p>4</p><p>5</p><p>6</p>
michael@0 21 </div>
michael@0 22 <div class="test" style="page-break-before:always">
michael@0 23 <p>1</p><p>2</p><p>3</p>
michael@0 24 <p>4</p><p>5</p><p>6</p>
michael@0 25 </div>
michael@0 26 <div class="test">
michael@0 27 <p>1</p><p>2</p><p>3</p>
michael@0 28 <p>4</p><p>5</p><p>6</p>
michael@0 29 </div>
michael@0 30
michael@0 31
michael@0 32 </body>
michael@0 33 </html>

mercurial