layout/reftests/flexbox/pagination/flexbox-empty-1-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 <!-- Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/ -->
michael@0 4 <html>
michael@0 5 <head>
michael@0 6 <style>
michael@0 7 .multicol {
michael@0 8 height: 10px;
michael@0 9 width: 100px;
michael@0 10 -moz-column-width: 20px;
michael@0 11 -moz-column-fill: auto;
michael@0 12 border: 2px solid orange;
michael@0 13 }
michael@0 14 .flexContainer {
michael@0 15 background: teal;
michael@0 16 /* border-width is 0 by default; some sub-testcases will increase it. */
michael@0 17 border: 0 dashed black;
michael@0 18 }
michael@0 19 </style>
michael@0 20 </head>
michael@0 21 <body>
michael@0 22 <!-- NO BORDERS/PADDING -->
michael@0 23 <!-- ================== -->
michael@0 24 <!-- content fits exactly into 1 column: -->
michael@0 25 <div class="multicol">
michael@0 26 <div class="flexContainer" style="height: 10px"></div>
michael@0 27 </div>
michael@0 28
michael@0 29 <!-- content fits, but margin-top pushes it to overflow: -->
michael@0 30 <div class="multicol">
michael@0 31 <div class="flexContainer" style="height: 9px;
michael@0 32 margin-top: 2px;"></div>
michael@0 33 </div>
michael@0 34
michael@0 35 <!-- content is too tall, by 1px: -->
michael@0 36 <div class="multicol">
michael@0 37 <div class="flexContainer" style="height: 11px"></div>
michael@0 38 </div>
michael@0 39
michael@0 40 <!-- BORDERS/PADDING ON TOP -->
michael@0 41 <!-- ====================== -->
michael@0 42 <!-- content fits, but border-top makes us too tall: -->
michael@0 43 <div class="multicol">
michael@0 44 <div class="flexContainer" style="height: 9px;
michael@0 45 border-top-width: 2px"></div>
michael@0 46 </div>
michael@0 47
michael@0 48 <!-- content fits, but padding-top makes us too tall: -->
michael@0 49 <div class="multicol">
michael@0 50 <div class="flexContainer" style="height: 9px;
michael@0 51 padding-top: 2px"></div>
michael@0 52 </div>
michael@0 53
michael@0 54 <!-- content fits, but border/padding-top make us too tall: -->
michael@0 55 <div class="multicol">
michael@0 56 <div class="flexContainer" style="height: 9px;
michael@0 57 border-top-width: 1px;
michael@0 58 padding-top: 1px"></div>
michael@0 59 </div>
michael@0 60
michael@0 61 <!-- BORDERS/PADDING ON BOTTOM -->
michael@0 62 <!-- ========================= -->
michael@0 63 <!-- content fits, but border-bottom-width makes us too tall: -->
michael@0 64 <div class="multicol">
michael@0 65 <div class="flexContainer" style="height: 9px;
michael@0 66 border-bottom-width: 2px"></div>
michael@0 67 </div>
michael@0 68
michael@0 69 <!-- content fits, but padding-bottom makes us too tall: -->
michael@0 70 <div class="multicol">
michael@0 71 <div class="flexContainer" style="height: 9px;
michael@0 72 padding-bottom: 2px"></div>
michael@0 73 </div>
michael@0 74
michael@0 75 <!-- content fits, but border/padding-bottom make us too tall: -->
michael@0 76 <div class="multicol">
michael@0 77 <div class="flexContainer" style="height: 9px;
michael@0 78 border-bottom-width: 1px;
michael@0 79 padding-bottom: 1px"></div>
michael@0 80 </div>
michael@0 81
michael@0 82 <!-- BORDERS/PADDING ON TOP AND BOTTOM -->
michael@0 83 <!-- ================================= -->
michael@0 84 <!-- content fits, but border-top/bottom combined make us too tall: -->
michael@0 85 <div class="multicol">
michael@0 86 <div class="flexContainer" style="height: 9px;
michael@0 87 border-top-width: 1px;
michael@0 88 border-bottom-width: 1px"></div>
michael@0 89 </div>
michael@0 90
michael@0 91 <!-- content fits, but padding-top/bottom combined make us too tall: -->
michael@0 92 <div class="multicol">
michael@0 93 <div class="flexContainer" style="height: 9px;
michael@0 94 padding-top: 1px;
michael@0 95 padding-bottom: 1px"></div>
michael@0 96 </div>
michael@0 97
michael@0 98 </body>
michael@0 99 </html>

mercurial