summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/list-style-type-decimal-vertical-rl.html
blob: 249d7e44100748a513641c8b53035d0e194bb76a (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
<!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>