blob: 6e2f0c101e46c0738a4a1f0c47a92eee78faf473 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!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-lr; }
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>
|