layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-wrap-vert-2-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-wrap-vert-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,59 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!--
     1.6 +     Any copyright is dedicated to the Public Domain.
     1.7 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.8 +-->
     1.9 +<html>
    1.10 +<head>
    1.11 +  <title>CSS Reftest Reference</title>
    1.12 +  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    1.13 +  <meta charset="utf-8">
    1.14 +  <style>
    1.15 +    div.flexbox {
    1.16 +      border: 1px dashed black;
    1.17 +      width: 12px;
    1.18 +      min-height: 100px;
    1.19 +      margin-right: 2px;
    1.20 +      float: left;
    1.21 +    }
    1.22 +    div.smallItem {
    1.23 +      height: 30px;
    1.24 +      border: 1px solid blue;
    1.25 +      background: lightblue;
    1.26 +    }
    1.27 +    div.halfCrossSize {
    1.28 +      width: 4px;
    1.29 +    }
    1.30 +  </style>
    1.31 +</head>
    1.32 +<body>
    1.33 +
    1.34 +  <!-- No flex items -->
    1.35 +  <div class="flexbox">
    1.36 +  </div>
    1.37 +
    1.38 +  <!-- Single small flex item -->
    1.39 +  <div class="flexbox">
    1.40 +    <div class="smallItem"></div>
    1.41 +  </div>
    1.42 +
    1.43 +  <!-- Multiple flex items, larger than flex container's min-size: -->
    1.44 +  <div class="flexbox">
    1.45 +    <div class="smallItem"></div>
    1.46 +    <div class="smallItem"></div>
    1.47 +    <div class="smallItem"></div>
    1.48 +    <div class="smallItem"></div>
    1.49 +    <div class="smallItem"></div>
    1.50 +  </div>
    1.51 +
    1.52 +  <!--- ...and now with flex container constrained by both min and max-size -->
    1.53 +  <div class="flexbox" style="max-height: 120px">
    1.54 +    <div class="smallItem halfCrossSize" style="float: left"></div>
    1.55 +    <div class="smallItem halfCrossSize" style="float: left"></div>
    1.56 +    <div class="smallItem halfCrossSize" style="float: left"></div>
    1.57 +    <div class="smallItem halfCrossSize" style="float: left"></div>
    1.58 +    <div class="smallItem halfCrossSize" style="float: left"></div>
    1.59 +  </div>
    1.60 +
    1.61 +</body>
    1.62 +</html>

mercurial