aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/list-item-marker-pseudo-element.html
blob: 5e8cddd19763b340f9397ab19beada1a1e0dd610 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<style>
.x::marker { color: blue }
.y::marker { color: red; content: 'hi world'; display: block }
</style>
<div style="margin-left: 8ch">
<div class=x style="display: list-item; list-style-type: cjk-heavenly-stem">test</div>
<div class=y style="display: list-item">test</div>
<div class=y style="display: list-item; list-style-position: inside">test</div>
</div>