summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-content-015-ref.html
blob: f2e7a708c3522e0913c3a904de7eb4ee95e3c95e (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>
<meta charset="utf-8">
<title>CSS Reference: ::marker pseudo elements styled with 'content' property</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<style>
li {
  margin-left: 100px;
}
.outside {
  list-style-position: outside;
}
.inside {
  list-style-position: inside;
}
.decimal {
  list-style-type: decimal;
}
.string {
  list-style-type: "[marker]";
}
</style>
<!-- Note: Chromium and WebKit force all these markers to be inside -->
<li class="outside decimal">outside</li>
<li class="outside string">outside</li>
<li class="inside decimal">inside</li>
<li class="inside string">inside</li>