1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/flexbox/pagination/flexbox-empty-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,99 @@ 1.4 +<!DOCTYPE html> 1.5 +<!-- Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ --> 1.7 +<html> 1.8 + <head> 1.9 + <style> 1.10 + .multicol { 1.11 + height: 10px; 1.12 + width: 100px; 1.13 + -moz-column-width: 20px; 1.14 + -moz-column-fill: auto; 1.15 + border: 2px solid orange; 1.16 + } 1.17 + .flexContainer { 1.18 + background: teal; 1.19 + /* border-width is 0 by default; some sub-testcases will increase it. */ 1.20 + border: 0 dashed black; 1.21 + } 1.22 + </style> 1.23 + </head> 1.24 + <body> 1.25 + <!-- NO BORDERS/PADDING --> 1.26 + <!-- ================== --> 1.27 + <!-- content fits exactly into 1 column: --> 1.28 + <div class="multicol"> 1.29 + <div class="flexContainer" style="height: 10px"></div> 1.30 + </div> 1.31 + 1.32 + <!-- content fits, but margin-top pushes it to overflow: --> 1.33 + <div class="multicol"> 1.34 + <div class="flexContainer" style="height: 9px; 1.35 + margin-top: 2px;"></div> 1.36 + </div> 1.37 + 1.38 + <!-- content is too tall, by 1px: --> 1.39 + <div class="multicol"> 1.40 + <div class="flexContainer" style="height: 11px"></div> 1.41 + </div> 1.42 + 1.43 + <!-- BORDERS/PADDING ON TOP --> 1.44 + <!-- ====================== --> 1.45 + <!-- content fits, but border-top makes us too tall: --> 1.46 + <div class="multicol"> 1.47 + <div class="flexContainer" style="height: 9px; 1.48 + border-top-width: 2px"></div> 1.49 + </div> 1.50 + 1.51 + <!-- content fits, but padding-top makes us too tall: --> 1.52 + <div class="multicol"> 1.53 + <div class="flexContainer" style="height: 9px; 1.54 + padding-top: 2px"></div> 1.55 + </div> 1.56 + 1.57 + <!-- content fits, but border/padding-top make us too tall: --> 1.58 + <div class="multicol"> 1.59 + <div class="flexContainer" style="height: 9px; 1.60 + border-top-width: 1px; 1.61 + padding-top: 1px"></div> 1.62 + </div> 1.63 + 1.64 + <!-- BORDERS/PADDING ON BOTTOM --> 1.65 + <!-- ========================= --> 1.66 + <!-- content fits, but border-bottom-width makes us too tall: --> 1.67 + <div class="multicol"> 1.68 + <div class="flexContainer" style="height: 9px; 1.69 + border-bottom-width: 2px"></div> 1.70 + </div> 1.71 + 1.72 + <!-- content fits, but padding-bottom makes us too tall: --> 1.73 + <div class="multicol"> 1.74 + <div class="flexContainer" style="height: 9px; 1.75 + padding-bottom: 2px"></div> 1.76 + </div> 1.77 + 1.78 + <!-- content fits, but border/padding-bottom make us too tall: --> 1.79 + <div class="multicol"> 1.80 + <div class="flexContainer" style="height: 9px; 1.81 + border-bottom-width: 1px; 1.82 + padding-bottom: 1px"></div> 1.83 + </div> 1.84 + 1.85 + <!-- BORDERS/PADDING ON TOP AND BOTTOM --> 1.86 + <!-- ================================= --> 1.87 + <!-- content fits, but border-top/bottom combined make us too tall: --> 1.88 + <div class="multicol"> 1.89 + <div class="flexContainer" style="height: 9px; 1.90 + border-top-width: 1px; 1.91 + border-bottom-width: 1px"></div> 1.92 + </div> 1.93 + 1.94 + <!-- content fits, but padding-top/bottom combined make us too tall: --> 1.95 + <div class="multicol"> 1.96 + <div class="flexContainer" style="height: 9px; 1.97 + padding-top: 1px; 1.98 + padding-bottom: 1px"></div> 1.99 + </div> 1.100 + 1.101 + </body> 1.102 +</html>