summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/marker-content-016.html
blob: 9a0585db72206768e2a7ed77f9245f67103d587b (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 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-016-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
<link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#line-decoration">
<meta name="assert" content="Checks that the 'content' property of a ::marker doesn't affect the propagation of text decorations.">
<style>
::marker {
  content: "[marker]";
}
ol {
  text-decoration: underline;
  padding-left: 100px;
}
.inside {
  list-style-position: inside;
}
</style>
<ol>
  <li class="outside">outside</li>
  <li class="inside">inside</li>
</ol>