summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-line-and-marker-ref.html
blob: 8095d5ca01527e4e1ccacd25887b499e198e80f0 (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
<!DOCTYPE html>
<meta charset="utf-8" />
<title>CSS Reftest Reference</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com" />
<style>
span {
  background: cyan;
}
.none {
  list-style-type: none;
}
.string {
  list-style-type: "2. ";
}
.content::marker {
  content: "3. ";
}
</style>
<ol class="none">
  <li><span>1. inside decimal</span></li>
  <li><span>2. inside string</span></li>
  <li><span>3. inside content</span></li>
</ol>
<ol class="outside">
  <li class="decimal"><span>outside decimal</span></li>
  <li class="string"><span>outside string</span></li>
  <li class="content"><span>outside content</span></li>
</ol>