summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/change-list-style-position-002-ref.html
blob: 0f724434d6ee7464ad99bc1c68142f8b06dbab98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: test the change of list-style-position</title>
<style>
div {
  display: list-item;
  margin-left: 40px;
  border: 5px solid;
}
div > div { list-style-type: decimal }
div > div > div { list-style-type: lower-roman }
.inside { list-style-position: inside }
</style>
<div><div><div class="inside">text</div></div></div>