layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1-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-baseline-multi-item-horiz-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     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 +<!-- Reference case, using inline-block instead of inline-flex, and with the
    1.10 +     baseline-aligned items aligned using specific font-size / line-heights,
    1.11 +     and with unaligned children taken out of baseline-alignment using
    1.12 +     "vertical-align:top".
    1.13 +-->
    1.14 +<html>
    1.15 +<head>
    1.16 +  <title>CSS Reftest Reference</title>
    1.17 +  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    1.18 +  <meta charset="utf-8">
    1.19 +  <style>
    1.20 +    .flexContainer {
    1.21 +      display: inline-block;
    1.22 +      background: lightblue;
    1.23 +    }
    1.24 +    .flexContainer > * { display: inline; }
    1.25 +    .smallFont {
    1.26 +      font-size: 10px;
    1.27 +      line-height: 10px;
    1.28 +    }
    1.29 +    .bigFont {
    1.30 +      font-size: 20px;
    1.31 +      line-height: 20px;
    1.32 +    }
    1.33 +    .unaligned { vertical-align: top }
    1.34 +  </style>
    1.35 +</head>
    1.36 +<body>
    1.37 +  a
    1.38 +  <div class="flexContainer smallFont">
    1.39 +    <div class="smallFont">b</div
    1.40 +    ><div class="bigFont unaligned">c</div>
    1.41 +  </div>
    1.42 +  <div class="flexContainer bigFont">
    1.43 +    <div class="bigFont">d</div
    1.44 +    ><div class="smallFont unaligned">e</div>
    1.45 +  </div>
    1.46 +</body>
    1.47 +</html>

mercurial