summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/change-list-style-position-003.html
blob: 8af360f0b090ee65f5496ed568a50f440d7a7555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: test the change of list-style-position</title>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="match" href="change-list-style-position-003-ref.html">
<link rel="help" href="https://www.w3.org/TR/CSS22/generate.html#lists">
<style>
div {
  border: 5px solid orange;
  display: list-item;
  margin-left: 40px;
}
div > div {
  list-style-type: decimal;
}
</style>
<div><div>text</div></div>
<script>
document.body.offsetHeight;
document.body.style.listStylePosition = "inside";
</script>