Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/alignment/flex-align-baseline-column-rtl-direction.html
<!DOCTYPE html> <html> <head> <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> <meta name="assert" content="Baseline aligned item should be aligned towards the start of the inline axis (right side)." <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#flex-wrap-property"> <link rel="help" href="https://drafts.csswg.org/css-align-3/#align-by-baseline"> <style> .flexbox { display: flex; width: 100px; height: 100px; align-items: baseline; flex-direction: column; direction: rtl; position: relative; } .item { width: 50px; height: 100px; background-color: green; } .abspos { position: absolute; right: 50px; } </style> </head> <body> <p>Test passes if there is a filled green square.</p> <div class="flexbox"> <div class="abspos item"></div> <div class="item"></div> </div> </body> </html>
/css/reference/ref-filled-green-100px-square-only.html
<!DOCTYPE html> <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> <p>Test passes if there is a filled green square.</p> <div style="width:100px; height:100px; background:green;"></div>