summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-inline-size-multicol.html
blob: 43510677f5d82362856ee2aeb069c5e25e4c6714 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<title>contain:inline-size on multicol</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size">
<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="columns:4; column-gap:0; contain:inline-size; width:fit-content; border:solid green; border-width:0 50px; background:red;">
  <div style="width:25px; height:200px;"></div>
  <div style="column-span:all; width:400px; height:50px;"></div>
</div>