layout/reftests/flexbox/flexbox-align-self-baseline-horiz-2-ref.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/flexbox/flexbox-align-self-baseline-horiz-2-ref.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     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 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.13 +  <head>
    1.14 +    <style>
    1.15 +      .flexbox {
    1.16 +        display: block;
    1.17 +        border: 1px dashed blue;
    1.18 +        font: 14px sans-serif;
    1.19 +      }
    1.20 +
    1.21 +      input { height: 30px; }
    1.22 +
    1.23 +      textarea {
    1.24 +        width: 30px;
    1.25 +        height: 50px;
    1.26 +      }
    1.27 +
    1.28 +      div.multilinebutton {
    1.29 +        /* For comparison vs. "button.multilinebutton" in the testcase: */
    1.30 +        -moz-appearance: button;
    1.31 +        display: block;
    1.32 +        text-align: center;
    1.33 +        font: 20px sans-serif;
    1.34 +        padding-top: 1px;
    1.35 +        height: 49px;
    1.36 +        width: 20px;
    1.37 +      }
    1.38 +
    1.39 +      div   { display: inline-block; }
    1.40 +      table { display: inline-table; }
    1.41 +
    1.42 +      .lime   { background: lime;   }
    1.43 +   </style>
    1.44 +  </head>
    1.45 +  <body>
    1.46 +    <div class="flexbox">
    1.47 +      <div class="lime">text</div
    1.48 +      ><input type="text" style="width: 20px; min-width: 0;" value="input"
    1.49 +     /><textarea style="width: 30px">t e x t a r e a </textarea
    1.50 +      ><table cellspacing="0" cellpadding="0">
    1.51 +        <div class="multilinebutton">b<br/>t<br/>n</div>
    1.52 +      </table>
    1.53 +    </div>
    1.54 +  </body>
    1.55 +</html>

mercurial