single-line-row-flex-fragmentation-031.html (909B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row flex fragmentation: OOF static position and alignment 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 block-size: 200px; 12 position: relative; 13 align-items: flex-end; 14 } 15 #flex > div { 16 inline-size: 100px; 17 block-size: 100px; 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="margin-top: -50px; inline-size: 100px; block-size: 100px; columns: 2; column-fill: auto; column-gap: 0;"> 24 <div id="flex"> 25 <div style="position: absolute; background: green;"></div> 26 <div style="background: red;"></div> 27 </div> 28 </div> 29 </div> 30 </div>