Status: FAIL | Duration: 15ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-counter-styles/counter-suffix.html
<!DOCTYPE html> <link rel="match" href="counter-suffix-ref.html"> <link rel="help" href="https://drafts.csswg.org/css-counter-styles/"/> <style> ol, li { margin: 0; padding: 0; line-height: 150%; } #wrapper { width: 10em; } ol { padding: 0 3em; } .dec { list-style-type: decimal; } .heb { list-style-type: hebrew; } .cjk { list-style-type: cjk-decimal; } .kor { list-style-type: korean-hangul-formal; } </style> <div id="wrapper"> <ol class="dec"><li>foo<li>bar</ol> <ol class="heb"><li>foo<li>bar</ol> <ol class="cjk"><li>foo<li>bar</ol> <ol class="kor"><li>foo<li>bar</ol> <ol class="dec" dir="rtl"><li>foo<li>bar</ol> <ol class="heb" dir="rtl"><li>foo<li>bar</ol> </div>
/css/css-counter-styles/counter-suffix-ref.html
<!DOCTYPE html> <style> p, span { margin: 0; padding: 0; line-height: 150%; } #wrapper { width: 10em; } span { display: inline-block; width: 3em; text-align: end; box-sizing: border-box; font-variant-numeric: tabular-nums; } </style> <div id="wrapper"> <p> <span>1. </span>foo<br> <span>2. </span>bar </p> <p> <span>א. </span>foo<br> <span>ב. </span>bar </p> <p> <span>一、</span>foo<br> <span>二、</span>bar </p> <p> <span>일, </span>foo<br> <span>이, </span>bar </p> <p dir="rtl"> <span>1. </span>foo<br> <span>2. </span>bar </p> <p dir="rtl"> <span>א. </span>foo<br> <span>ב. </span>bar </p> </div>