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