baseline-synthesis-001.html (618B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-align-3/#synthesize-baseline"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 4 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 5 <div style="display: flex; writing-mode: vertical-rl; align-items: baseline; text-orientation: mixed;"> 6 <div style="background: green; line-height: 100px; height: 50px; color: transparent;">text</div> 7 <div style="background: green; width: 100px; height: 50px;"></div> <!-- text-orientation: mixed should synthesize the baseline in the block middle. --> 8 </div>