summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-layout-api/auto-block-size/flex-ref.html
blob: e71b104c7421fad3f95f46484accb56b4f01c38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<style>
.container {
  border: solid 2px;
  display: flow-root;
  width: 300px;
}

.child {
  background: green;
  border: solid 2px;
  box-sizing: border-box;
  float: left;
  height: 100px;
}
</style>

<div class="container">
  <div class="child" style="width: 100px;"></div>
  <div class="child" style="width: 200px;"></div>
</div>