layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1-ref.xhtml

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-align-self-baseline-horiz-1-ref.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,65 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     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 for behavior of the 'baseline' value for align-items and
    1.10 +     align-self.
    1.11 +
    1.12 +     NOTE: For multi-line 'display: block' elements in the testcase (and inline
    1.13 +     content that gets wrapped in an anonymous block), we add an inline-table
    1.14 +     wrapper here in the reference case, so that we get first-line baseline
    1.15 +     alignment instead of the last-line baseline-alignment that an inline-block
    1.16 +     would give us.
    1.17 +-->
    1.18 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.19 +  <head>
    1.20 +    <title>CSS Reftest Reference</title>
    1.21 +    <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
    1.22 +    <style>
    1.23 +      .flexbox {
    1.24 +        display: block;
    1.25 +        border: 1px dashed blue;
    1.26 +        font: 14px sans-serif;
    1.27 +      }
    1.28 +
    1.29 +      div   { display: inline-block; }
    1.30 +      table { display: inline-table; }
    1.31 +
    1.32 +      .big {
    1.33 +        height: 100px;
    1.34 +        font: 24px sans-serif;
    1.35 +        margin-top: 20px;
    1.36 +      }
    1.37 +      .super {
    1.38 +        vertical-align: super;
    1.39 +        font-size: 12px;
    1.40 +      }
    1.41 +      .sub {
    1.42 +        vertical-align: sub;
    1.43 +        font-size: 12px;
    1.44 +      }
    1.45 +
    1.46 +      .lime   { background: lime;   }
    1.47 +      .yellow { background: yellow; }
    1.48 +      .orange { background: orange; }
    1.49 +      .pink   { background: pink;   }
    1.50 +      .aqua   { background: aqua;   }
    1.51 +      .tan    { background: tan;    }
    1.52 +   </style>
    1.53 +  </head>
    1.54 +  <body>
    1.55 +    <div class="flexbox">
    1.56 +      <div class="lime">blk_1line</div
    1.57 +      ><table cellspacing="0" cellpadding="0"
    1.58 +              class="yellow">blk<br/>2lines</table
    1.59 +      ><div class="orange"><span class="super">super</span></div
    1.60 +      ><div class="pink"><span class="sub">sub</span></div
    1.61 +      ><table cellspacing="0" cellpadding="0"
    1.62 +              class="aqua big">big<br/>text<br/>3lines</table
    1.63 +      ><table class="tan" cellspacing="0" cellpadding="0">
    1.64 +        <i>ital<br/>ic</i>
    1.65 +      </table>
    1.66 +    </div>
    1.67 +  </body>
    1.68 +</html>

mercurial