multi-line-row-flex-fragmentation-083d.html (1153B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Test that in a row flex container, the break-after values on the flex item in the flex line are propagated to the flex container</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-flexbox-1/#pagination"> 7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1890238"> 8 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> 9 10 <style> 11 .multicol { 12 columns: 2; 13 column-fill: auto; 14 column-gap: 0; 15 width: 100px; 16 height: 300px; 17 } 18 .flexbox { 19 display: flex; 20 flex-wrap: wrap; 21 } 22 .item { 23 background: green; 24 width: 25px; 25 height: 100px; 26 } 27 </style> 28 29 <p>Test passes if there is a filled green square.</p> 30 31 <div class="multicol"> 32 <div class="flexbox"> 33 <div class="flexbox"> 34 <div class="item"></div> 35 <div class="item" style="break-after: always; break-after: column"></div> 36 </div> 37 <div class="flexbox"> 38 <div class="item"></div> 39 <div class="item"></div> 40 </div> 41 </div> 42 </div>