Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/counters/reftest.list
<head>
<title>CSS 2.1 Test Suite: content: counters(c, ".")</title>
<style type="text/css">
body, #test { counter-reset: c; }
p, #test span { counter-increment: c; }
#test span:before { content: counters(c, "."); }
</style>
</head>
<body>
<p></p>
<div id="test">
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</body>
</html>