Skip to content

Commit 57fad84

Browse files
committed
[css-lists-3] Add a note to 'implicit list-item counter' pointing back to section 3.4, which details how the list-item counter is used by default. Fixes #4168.
1 parent 536135f commit 57fad84

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css-lists-3/Overview.bs

+8
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,14 @@ The Implicit ''list-item'' Counter</h3>
10871087
For example, HTML lists can have a <{ol/reversed}> attribute,
10881088
which causes the ''list-item'' counter to count <em>down</em> instead on the list items belonging to that element.
10891089

1090+
Note: Per [[#text-markers]],
1091+
the ''list-item'' counter
1092+
is used to generate the [=marker string=] for [=list items=];
1093+
in other words,
1094+
it's the counter used when you set 'list-style-type'
1095+
to something that can show a counter's value,
1096+
like ''decimal''.
1097+
10901098
<div class="example">
10911099
In the following example,
10921100
the list is modified to count by twos:

0 commit comments

Comments
 (0)