Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-lists/list-style-type-decimal-vertical-rl.html
<!doctype html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <meta charset="utf-8"> <title>CSS Lists Test - check baseline alignment of vertical writing-mode text ::markers</title> <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> <link rel="help" href="https://drafts.csswg.org/css-lists-3/#text-markers"> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1156996"> <link rel="match" href="list-style-type-decimal-vertical-rl-ref.html"> <html> <style> html { writing-mode: vertical-rl; } ol { list-style-position: inside; padding: 0; margin: 0; } .content::marker { content: "1. "; } .sz1 { font-size: 40px; } .sz1::marker { font-size: 20px; } .sz2 { font-size: 20px; } .sz2::marker { font-size: 40px; } </style> <ol><li>1.</li></ol> <ol><li class="content">1.</li></ol> <ol><li class="sz1">1.</li></ol> <ol><li class="content sz1">1.</li></ol> <ol><li class="sz2">1.</li></ol> <ol><li class="content sz2">1.</li></ol>
/css/css-lists/list-style-type-decimal-vertical-rl-ref.html
<!doctype html> <!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <meta charset="utf-8"> <title>CSS Lists Reference - check baseline alignment of vertical writing-mode text ::markers</title> <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> <html> <style> html { writing-mode: vertical-rl; } ol { padding: 0; margin: 0; } li { list-style-type: none; } m { text-align: end; text-transform: none; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: pre; } .sz1 { font-size: 40px; } .sz1 > m { font-size: 20px; } .sz2 { font-size: 20px; } .sz2 > m { font-size: 40px; } </style> <ol><li><m>1. </m>1.</li></ol> <ol><li><m>1. </m>1.</li></ol> <ol><li class="sz1"><m>1. </m>1.</li></ol> <ol><li class="sz1"><m>1. </m>1.</li></ol> <ol><li class="sz2"><m>1. </m>1.</li></ol> <ol><li class="sz2"><m>1. </m>1.</li></ol>