summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1128354-1.html
blob: c83bcf8b25209a9279556a1c7cebbaa631f6968b (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
33
34
35
36
37
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <style>
      .flexVert {
        display: flex;
        flex-direction: column;
      }

      .flexIntermediateHoriz {
        display: flex;
      }

      .flexInnerHoriz {
        display: flex;
        height: 100%; /* If you delete this line, then pink area is stretched
                         to have its height match blue area. */
        background: pink;
      }

      .spacer {
        background: lightblue;
        height: 200px;
        width: 50px;
      }
    </style>
  </head>
  <body>
    <div class="flexVert">
      <div class="flexIntermediateHoriz">
        <div class="flexInnerHoriz">text</div>
        <div class="spacer"></div>
      </div>
    </div>
  </body>
</html>