blob: 3d045965de805bf16513ac9f6dfd6d6ab602ffc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<title>HTML LI element: counter order with Shadow DOM and SLOT</title>
<link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
<link rel="help" href="https://www.w3.org/TR/css-lists-3/#inheriting-counters">
<style>
li::before { content: counters(list-item,'.') ' '; }
</style>
</head>
<body>
<ol>
<li>One</li>
<li>Two</li>
<ol>
<li>Two Point One</li>
</ol>
</ol>
</body>
</html>
|