layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/flexbox/flexbox-resizeviewport-1-helper.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<!-- Helper-file for reftest flexbox-resizeviewport-1.xhtml
     1.9 +     I'm intentionally using quirks-mode (no doctype), so that
    1.10 +     a 100% height will work. -->
    1.11 +<html>
    1.12 +  <head>
    1.13 +    <style>
    1.14 +      div.flexbox {
    1.15 +        display: flex;
    1.16 +        height: 100%;
    1.17 +        border: 2px dashed black;
    1.18 +      }
    1.19 +      div.a {
    1.20 +        flex: 1;
    1.21 +        background: pink;
    1.22 +      }
    1.23 +      div.b {
    1.24 +        flex: 1;
    1.25 +        background: teal;
    1.26 +      }
    1.27 +    </style>
    1.28 +  </head>
    1.29 +  <body>
    1.30 +    <div class="flexbox">
    1.31 +      <div class="a"></div><div class="b"></div>
    1.32 +    </div>
    1.33 +  </body>
    1.34 +</html>

mercurial