Status: FAIL | Duration: 17ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flexbox-writing-mode-srl-row-mix.html
<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <head> <title> CSS Test: Testing a mix of flex items with various values for 'writing-mode' / 'direction' in a vertical row-oriented flex container. </title> <meta charset="utf-8"> <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-direction-property"> <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#propdef-writing-mode"> <link rel="match" href="flexbox-writing-mode-srl-row-mix-ref.html"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> <style> .container { display: flex; flex-direction: row; align-items: start; float: left; border: 2px solid purple; padding: 2px; margin-bottom: 2em; height: 500px; width: 150px; } span { display: block; background: lightgrey; border: 2px solid black; margin: 11px 13px 17px 7px; inline-size: 6px; } .small { font: 12px Ahem; } .big { font: 20px Ahem; } .hl { writing-mode: horizontal-tb; direction: ltr; } .hr { writing-mode: horizontal-tb; direction: rtl; } .sl { writing-mode: sideways-lr; direction: ltr; } .sr { writing-mode: sideways-rl; direction: ltr; } .sl_rtl { writing-mode: sideways-lr; direction: rtl; } .sr_rtl { writing-mode: sideways-rl; direction: rtl; } </style> </head> <body> <div class="container sr"> <span class="hl small">p b c</span> <span class="hl big">p e</span> <span class="hr small">p b c</span> <span class="hr big">p e</span> <span class="sl small">p b c</span> <span class="sl big">p e</span> </div> <div class="container sr"> <span class="sr small">p b c</span> <span class="sr big">p e</span> <span class="sl_rtl small">p b c</span> <span class="sl_rtl big">p e</span> <span class="sr_rtl small">p b c</span> <span class="sr_rtl big">p e</span> </div> <div class="container sr_rtl"> <span class="hl small">p b c</span> <span class="hl big">p e</span> <span class="hr small">p b c</span> <span class="hr big">p e</span> <span class="sl small">p b c</span> <span class="sl big">p e</span> </div> <div class="container sr_rtl"> <span class="sr small">p b c</span> <span class="sr big">p e</span> <span class="sl_rtl small">p b c</span> <span class="sl_rtl big">p e</span> <span class="sr_rtl small">p b c</span> <span class="sr_rtl big">p e</span> </div> </body> </html>
/css/css-flexbox/flexbox-writing-mode-srl-row-mix-ref.html
<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <head> <title>CSS Reftest Reference</title> <meta charset="utf-8"> <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> <style> .container { display: flex; align-items: end; float: left; border: 2px solid purple; padding: 2px; margin-bottom: 2em; height: 500px; width: 150px; } span { display: block; background: lightgrey; border: 2px solid black; margin: 11px 13px 17px 7px; inline-size: 6px; } .small { font: 12px Ahem; } .big { font: 20px Ahem; } .hl { writing-mode: horizontal-tb; direction: ltr; } .hr { writing-mode: horizontal-tb; direction: rtl; } .sl { writing-mode: sideways-lr; direction: ltr; } .sr { writing-mode: sideways-rl; direction: ltr; } .sl_rtl { writing-mode: sideways-lr; direction: rtl; } .sr_rtl { writing-mode: sideways-rl; direction: rtl; } </style> </head> <body> <div class="container" style="flex-flow: column"> <span class="hl small">p b c</span> <span class="hl big">p e</span> <span class="hr small">p b c</span> <span class="hr big">p e</span> <span class="sl small">p b c</span> <span class="sl big">p e</span> </div> <div class="container" style="flex-flow: column"> <span class="sr small">p b c</span> <span class="sr big">p e</span> <span class="sl_rtl small">p b c</span> <span class="sl_rtl big">p e</span> <span class="sr_rtl small">p b c</span> <span class="sr_rtl big">p e</span> </div> <div class="container" style="flex-flow: column-reverse"> <span class="hl small">p b c</span> <span class="hl big">p e</span> <span class="hr small">p b c</span> <span class="hr big">p e</span> <span class="sl small">p b c</span> <span class="sl big">p e</span> </div> <div class="container" style="flex-flow: column-reverse"> <span class="sr small">p b c</span> <span class="sr big">p e</span> <span class="sl_rtl small">p b c</span> <span class="sl_rtl big">p e</span> <span class="sr_rtl small">p b c</span> <span class="sr_rtl big">p e</span> </div> </body> </html>