summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-list-style-position-ref-002.html
blob: 1c21789c079d3b97f7fc8628d6918453cbd04669 (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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Reference: ::marker pseudo elements styled with 'list-style-position' property</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<style>
body { color: black; background: white; }
#t1 > li { list-style-position: inside; }
#t2 > li { list-style-position: outside; }
#t3 > li { list-style-position: inside; }
#t4 > li { list-style-position: inside; }

#t1, #t2, blue { color: blue; }
black { color: black; }

span { font-size: 32pt; }
</style>
</head>
<body>
<ol id="t1"><li></li><li><black>B</black></li><li><span><black>C</black></span></li></ol>
<ol id="t2"><li></li><li><black>B</black></li><li><span><black>C</black></span></li></ol>
<ol id="t3"><li></li><li><blue>B</blue></li><li><span><blue>C</blue></span></li></ol>
<ol id="t4"><li></li><li><blue>B</blue></li><li><span><blue>C</blue></span></li></ol>
</body>
</html>