summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/first-letter-skip-marker.html
blob: fb9fe258472e3a0e338f12246469e9499b4c2601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML>
<title>CSS Test: The element's own ::marker should be skipped when finding the ::first-letter content</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#application-in-css">
<link rel="match" href="first-letter-skip-marker-ref.html">
<style>
body { margin-left:100px; }
ol > li { list-style-position: inside }
li::first-letter { color: green }
li:first-child { list-style-type: lower-alpha; list-style-type: '::marker ' }
li:last-child::marker { content: '::marker ' }
</style>
<ol>
  <li>item</li>
  <li>item</li>
</ol>

<ul>
  <li>item</li>
  <li>item</li>
</ul>