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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!-- Helper-file for reftest flexbox-resizeviewport-1.xhtml
     6      I'm intentionally using quirks-mode (no doctype), so that
     7      a 100% height will work. -->
     8 <html>
     9   <head>
    10     <style>
    11       div.flexbox {
    12         display: flex;
    13         height: 100%;
    14         border: 2px dashed black;
    15       }
    16       div.a {
    17         flex: 1;
    18         background: pink;
    19       }
    20       div.b {
    21         flex: 1;
    22         background: teal;
    23       }
    24     </style>
    25   </head>
    26   <body>
    27     <div class="flexbox">
    28       <div class="a"></div><div class="b"></div>
    29     </div>
    30   </body>
    31 </html>

mercurial