Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-lists/counter-list-item-2.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
-->
<html><head>
<title>HTML LI element: explicit scope</title>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.org">
<link rel="help" href="https://html.spec.whatwg.org/multipage/grouping-content.html#the-li-element">
<link rel="match" href="counter-list-item-2-ref.html">
<style>
li::before { content: counters(list-item,'.'); }
</style>
</head>
<body>
<ol>
<li></li>
<li></li>
<ol><li></li></ol>
<li></li>
</ol>
</body>
</html>