summaryrefslogtreecommitdiffstats
path: root/layout/reftests/flexbox/flexbox-dyn-changeContent-2-ref.html
blob: 4889b54944d6ee686ee82010f50cab4abe821add (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
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <style>
    #flex {
      display: inline-flex;
      flex-direction: column;
      border: 1px solid black;
      max-width: 50px;
      height: 150px;
    }
    #itemA {
      background: purple;
      height: 50%;
      flex: none;
    }
    #itemB {
      background: lightblue;
      flex: none;
    }
  </style>
</head>
<body>
  <div id="flex">
    <div id="itemA">A</div>
    <div id="itemB">BB</div>
  </div>
</body>
</html>