contain-inline-size-multicol.html (725B)
1 <!DOCTYPE html> 2 <title>contain:inline-size on multicol</title> 3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property"> 5 <link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="columns:4; column-gap:0; contain:inline-size; width:fit-content; border:solid green; border-width:0 50px; background:red;"> 9 <div style="width:25px; height:200px;"></div> 10 <div style="column-span:all; width:400px; height:50px;"></div> 11 </div>