summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/single-line-row-flex-fragmentation-030.html
blob: a70ad1473eaf277a4f8ce14b7f84efe363858a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<title>
  Single-line row flex fragmentation: If the fragmentainer is out of space
  but a flex row should break before if it has content w/ vertical
  writing-mode.
</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<style>
  #flex {
    display: flex;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="writing-mode: vertical-lr;">
  <div style="inline-size: 100px; block-size: 100px; columns: 2; column-gap: 0; column-fill: auto; background: red;">
    <div style="block-size: 100px; inline-size: 100px; background: green;"></div>
    <div id="flex">
      <div style="block-size: 100px; inline-size: 100px; background: green;"></div>
    </div>
  </div>
</div>