summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/flex-item-content-overflow-001-ref.html
blob: f4caedc110f43c67777fe1076cf4fb9cd821c97e (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
38
39
40
41
42
43
<!DOCTYPE html>
<html>
  <meta charset="utf-8">
  <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
  <link rel="author" title="Mozilla" href="https://www.mozilla.org/">
  <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1811548">

  <style>
  div {
    box-sizing: border-box;
  }
  .multicol {
    column-count: 2;
    column-gap: 0;
    column-fill: auto;
    inline-size: 300px;
    block-size: 100px;
    border: 10px solid purple;
  }
  .flexbox {
    display: block;
    inline-size: 130px;
    block-size: 70px;
    border: 10px solid black;
  }
  .item {
    block-size: 50px;
    border: 10px solid teal;
  }
  .grandchild {
    border: 10px solid orange;
    block-size: 140px;
  }
  </style>

  <div class="multicol">
    <div class="flexbox">
      <div class="item">
        <div class="grandchild"></div>
      </div>
    </div>
  </div>
</html>