Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions css-lists-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1041,8 +1041,8 @@ Outputting Counters: the ''counter()'' and ''counters()'' functions</h3>
but can be used by an author anywhere that accepts a <<string>>. Their syntax is:

<pre>
<dfn>counter()</dfn> = counter( <<ident>>, [ <<counter-style>> | none ]? )
<dfn>counters()</dfn> = counters( <<ident>>, <<string>>, [ <<counter-style>> | none ]? )
<dfn>counter()</dfn> = counter( <<custom-ident>>, [ <<counter-style>> | none ]? )
<dfn>counters()</dfn> = counters( <<custom-ident>>, <<string>>, [ <<counter-style>> | none ]? )
</pre>

For both functions, the first argument represents the name of a counter,
Expand Down Expand Up @@ -1221,7 +1221,7 @@ Outputting Counters: the ''counter()'' and ''counters()'' functions</h3>
but this is a *little bit* clumsy,
and doesn't work for siblings.)

Suggestion is to add a <css>counter-value(<<ident>>)</css> function,
Suggestion is to add a <css>counter-value(<<custom-ident>>)</css> function,
which returns the value of the named counter as an integer,
rather than returning a string.
</div>
Expand Down