Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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">
<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>