Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html><head>
<meta charset="utf-8">
<title>CSS Lists: dynamic update test for 'counter-set'</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<link rel="match" href="counter-set-002-ref.html">
</head>
<body>
<noscript>Test not run - javascript required.</noscript>
<ol>
<li></li>
<li id="item" style="counter-increment: list-item 3"></li>
<li></li>
<style>
.f {
display: list-item;
}
</style>
<fieldset id="item4" class="f" style="counter-set: list-item 42"></fieldset>
<li></li>
</ol>
<script>
document.body.offsetTop;
document.getElementById('item').style= '';
document.getElementById('item4').style= '';
</script>
</body>
</html>