summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-content-015.html
blob: 6e1ec40af1d85c9f34ccb315649b67438a5dcf37 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test: ::marker pseudo elements styled with 'content' property</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="match" href="marker-content-015-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
<meta name="assert" content="Checks that the position of a ::marker originated by a <li> which is not in a list is not affected by the 'content' property.">
<style>
li {
  margin-left: 100px;
}
.outside {
  list-style-position: outside;
}
.inside {
  list-style-position: inside;
}
.decimal {
  list-style-type: decimal;
}
.marker::marker {
  content: "[marker]";
}
</style>
<!-- Note: Chromium and WebKit force all these markers to be inside -->
<li class="outside decimal">outside</li>
<li class="outside marker">outside</li>
<li class="inside decimal">inside</li>
<li class="inside marker">inside</li>