single-line-column-flex-fragmentation-045.html (1514B)
1 <!DOCTYPE html> 2 <title> 3 Single-line column flex fragmentation: column balancing with forced break 4 w/ vertical writing-mode. 5 </title> 6 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 7 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 8 <style> 9 #flex { 10 display: flex; 11 flex-direction: column; 12 background: green; 13 block-size: 100px; 14 } 15 #flex > div { 16 inline-size: 25px; 17 background: green; 18 flex: none; 19 } 20 </style> 21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 22 <div style="writing-mode: vertical-rl;"> 23 <div style="inline-size: 100px; block-size: 100px; background: red;"> 24 <div style="inline-size: 100px; columns: 4; column-gap: 0; position: relative;"> 25 <div id="flex"> 26 <div style="block-size: 5px;"></div> 27 <div style="block-size: 10px; break-before: column;"></div> 28 <div style="block-size: 5px;"> 29 <div style="block-size: 90px; inline-size: 25px; background: green;"></div> 30 </div> 31 <div style="block-size: 85px;"></div> 32 <div style="block-size: 5px;"></div> 33 <div style="block-size: 10px; break-before: column;"></div> 34 <div style="block-size: 5px;"> 35 <div style="block-size: 90px; inline-size: 25px; background: green;"></div> 36 </div> 37 </div> 38 <div style="position: absolute; right: 5px; top: 50px; block-size: 95px; inline-size: 25px; background: green;"></div> 39 </div> 40 </div> 41 </div>