layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-align-self-baseline-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-align-self-baseline-horiz-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     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 +     unaligned children taken out of baseline-alignment with
    1.11 +     "vertical-align:top".
    1.12 +-->
    1.13 +<html>
    1.14 +<head>
    1.15 +  <title>CSS Reftest Reference</title>
    1.16 +  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    1.17 +  <meta charset="utf-8">
    1.18 +  <style>
    1.19 +    body {
    1.20 +      margin: 0;
    1.21 +      font-size: 20px;
    1.22 +      line-height: 20px;
    1.23 +    }
    1.24 +    .flexContainer {
    1.25 +      display: inline-block;
    1.26 +      background: lightblue;
    1.27 +      vertical-align: top;
    1.28 +    }
    1.29 +    .hugeAndUnaligned {
    1.30 +      font-size: 35px;
    1.31 +      line-height: 35px;
    1.32 +      vertical-align: top;
    1.33 +    }
    1.34 +    .smallFont {
    1.35 +      font-size: 10px;
    1.36 +      line-height: 10px;
    1.37 +    }
    1.38 +    .flexContainer > * { display: inline; }
    1.39 +  </style>
    1.40 +</head>
    1.41 +<body>
    1.42 +  a
    1.43 +  <div class="flexContainer">
    1.44 +    <div class="smallFont">b</div
    1.45 +    ><div>c</div
    1.46 +    ><div class="hugeAndUnaligned">d</div>
    1.47 +  </div>
    1.48 +  <div class="flexContainer">
    1.49 +    <div class="hugeAndUnaligned">e</div
    1.50 +    ><div>f</div
    1.51 +    ><div class="smallFont">g</div>
    1.52 +  </div>
    1.53 +  <div class="flexContainer">
    1.54 +    <div class="hugeAndUnaligned">h</div
    1.55 +    ><div class="smallFont">i</div
    1.56 +    ><div>j</div>
    1.57 +  </div>
    1.58 +</body>
    1.59 +</html>

mercurial