summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/block-in-inline-011.html
blob: 1906feffdd7d0a1f6301c3f7b89f250c5df21c1b (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
<!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=1495515">
<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 style="width:100px; columns:4; column-fill:auto; gap:0; height:70px; background:red;">
  <span>
    <div style="height:50px; background:green;"></div>
    <div id="e58" style="float:left;">
      <div style="float:left; width:100%;">
        <div style="height:100px; contain:size; background:green;"></div>
        <div style="height:100px; contain:size; background:green;"></div>
        <div style="height:100px; contain:size; background:green;"></div>
      </div>
    </div>
    <div style="height:20px; contain:size;">
      <div style="height:50px; background:green;"></div>
    </div>
  </span>
</div>
<script>
  document.body.offsetTop;
  e58.style.cssFloat = "none";
</script>