summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/flexbox/increase-fragmentainer-size-flex-item-trailing-margin.html
blob: 94845449fbf185b2004cc532ecb401eab4e4221d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1395408">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1399449">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="mc" style="columns:1; width:100px; column-fill:auto; height:90px; background:red;">
  <div style="height:40px; background:green;"></div>
  <div style="display:flex; background:green;">
    <div style="margin-bottom:10px; height:50px; width:100px;"></div>
  </div>
</div>
<script>
  document.body.offsetTop;
  mc.style.height = "100px";
</script>