summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/marker-webkit-text-fill-color-ref.html
blob: 2ca6263d2c78821e33d70dec2be740838396a7f7 (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>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<meta charset="utf-8">
<title>CSS Lists Reference - ::markers should honor -webkit-text-fill-color</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="author" title="Xidorn Quan" href="https://github.com/upsuper">
<style>
:root, ::marker { color: green; -webkit-text-fill-color: green }
.c1::marker { content: counter(list-item, decimal) }
.c2::marker { content: counter(list-item, disc) }
.c3::marker { content: counter(list-item, square) }
.c4::marker { content: counter(list-item, circle) }
.c5::marker { content: counter(list-item, disclosure-open) }
.c6::marker { content: counter(list-item, disclosure-closed) }
</style>
<pre>PASS if all text and symbols are green.  Nothing is red or black.</pre>
<ol><li>hello</li></ol>
<ul><li>hello<ul><li>hello<ul><li>hello</li></ul></li></ul></li></ul>
<ul><li style="list-style-type:disclosure-open">hello<ul><li style="list-style-type:disclosure-closed">hello</li></ul></li></ul>
<ul><li style="list-style-type:'hej'">hello</li></ul>
<ul><li class="c1">hello</li></ul>
<ul><li class="c2">hello</li></ul>
<ul><li class="c3">hello</li></ul>
<ul><li class="c4">hello</li></ul>
<ul><li class="c5">hello</li></ul>
<ul><li class="c6">hello</li></ul>