Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-counter-styles/symbols-function/used-in-counters.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: symbols function, used in counters()</title>
<link rel="match" href="used-in-counters-ref.html">
<link rel="stylesheet" href="../counter-style-at-rule/support/test-common.css">
<style>
.counters {
list-style-type: none;
counter-reset: a;
}
.counters li {
counter-increment: a;
padding-right: .5em;
}
.counters .counters li::after {
content: counters(a, '.', symbols(numeric '0' '1'));
}
</style>
<ol class="counters">
<li><ol class="counters"><li><li><li><li><li></ol></li>
<li><ol class="counters"><li><li><li><li><li></ol></li>
</ol>