summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-content-022-ref.html
blob: 1342b0621fc637b287fd7d9268af3ee2c5348962 (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
<!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>
.symbol {
  list-style-type: disc;
}
.decimal {
  list-style-type: decimal;
}
.string {
  list-style-type: "string";
}
.content::marker {
  content: "content";
}
</style>
<ol>
  <li class="symbol"><span><div>foo</div></span></li>
  <li class="decimal"><span><div>foo</div></span></li>
  <li class="string"><span><div>foo</div></span></li>
  <li class="content"><span><div>foo</div></span></li>
</ol>