single-line-row-flex-fragmentation-034.html (958B)
1 <!DOCTYPE html> 2 <title> 3 Single-line row flex fragmentation: baseline alignment. 4 </title> 5 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> 7 <style> 8 #flex { 9 display: flex; 10 align-items: baseline; 11 width: 50px; 12 height: 200px; 13 line-height: 0; 14 position: relative; 15 } 16 #flex > div { 17 width: 25px; 18 background: green; 19 } 20 </style> 21 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 22 <div style="width: 100px; height: 100px; columns: 2; column-fill: auto; column-gap: 0; background: red;"> 23 <div id="flex"> 24 <div style="position: absolute; height: 50px;"></div> 25 <div style="height: 150px;"> 26 <span style="display: inline-block; height: 10px;"></span> 27 </div> 28 <div style="height: 200px;"> 29 <span style="display: inline-block; height: 60px;"></span> 30 </div> 31 </div> 32 </div>