multicol-nested-031.html (879B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Multi-column Layout Test: Test break-inside:avoid block in a nested multi-column shouldn't causean infinite loop</title> 4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> 6 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#the-multi-column-model"> 7 <link rel="help" href="https://drafts.csswg.org/css-break-3/#break-within"> 8 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 9 10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 11 <div id="outer" style="columns: 2; column-gap: 0; column-fill: auto; width: 100px; height: 100px;"> 12 <div id="inner" style="columns: 2; column-gap: 0;"> 13 <div style="height: 400px; break-inside: avoid; background: green"></div> 14 </div> 15 </div>