Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flexbox_rtl-direction.html
<!DOCTYPE html> <title>flexbox | flex-direction: column-reverse | rtl</title> <link rel="author" href="http://opera.com" title="Opera Software"> <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-direction"> <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column-reverse"> <link rel="match" href="flexbox_rtl-direction-ref.html"> <style> div { background: blue; margin: 1em 0; border: 1px solid black; direction: rtl; display: flex; flex-direction: column-reverse; } span { background: white; margin: 1em; width: 8em; display: inline-block; } .test { background: #ffcc00; } </style> <div> <span class="test">filler</span> <span>filler</span> <span>filler</span> <span>filler</span> </div>
/css/css-flexbox/flexbox_rtl-direction-ref.html
<!DOCTYPE html> <title>flexbox | flex-direction: column-reverse | rtl</title> <link rel="author" href="http://opera.com" title="Opera Software"> <style> div { background: blue; margin: 1em 0; border: 1px solid black; } div::after { content: ""; clear: both; display: block; } span { text-align: right; background: white; margin: 1em 1em 0; width: 8em; float: right; clear: both; } .test { background: #ffcc00; } span~span { margin: 2em 1em 0; } span:last-child { margin-bottom: 1em; } </style> <div> <span>filler</span> <span>filler</span> <span>filler</span> <span class="test">filler</span> </div>