Source code
Revision control
Copy as Markdown
Other Tools
<head>
<title>CSS Test: Implied counter scopes with no 'counter-increment' or 'counter-reset'</title>
<style type="text/css">
body { white-space: nowrap; }
#one:before { content: counter(one) }
#two:before { content: counter(two) }
</style>
</head>
<body>
<p>The following should be identical:</p>
<div><span id="one"></span><span id="two"></span></div>
<div>00</div>
</body>
</html>