Skip to content

Commit 9c7adf5

Browse files
committed
[css-lists][meta] Fix some linking.
1 parent 09408ce commit 9c7adf5

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

css-lists-3/Overview.bs

+19-15
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:css-pseudo-4; type:selector; text:::before
2828
Introduction</h2>
2929

3030
This specification defines the ''::marker'' pseudo-element,
31-
the ''list-item'' 'display' value that generates markers,
31+
the ''display: list-item'' value that generates markers,
3232
and several properties controlling the placement and styling of markers.
3333

3434
It also defines <a>counters</a>,
@@ -69,20 +69,11 @@ Introduction</h2>
6969
<h2 id='declaring-a-list-item'>
7070
Declaring a List Item</h2>
7171

72-
A <dfn export>list item</dfn> is any element with its 'display' property set to ''list-item''.
72+
A <dfn export>list item</dfn> is any element with its 'display' property set to ''display/list-item''.
7373
<a>List items</a> generate ''::marker'' pseudo-elements;
7474
no other elements do.
75-
76-
Additionally, <a>list items</a> automatically increment the special ''list-item'' <a>counter</a>.
77-
Unless the 'counter-increment' property manually specifies a different increment for the ''list-item'' <a>counter</a>,
78-
it must be incremented by 1 on every <a>list item</a>,
79-
at the same time that <a>counters</a> are normally incremented.
80-
(This has no effect on the values of the 'counter-*' properties.)
81-
82-
If a <a>list item</a> generates an <a>inline box</a>,
83-
such as through ''display: inline list-item'',
84-
the ''outside'' value of 'list-style-position'
85-
must compute to ''inside'' on the element.
75+
Additionally, <a>list items</a> automatically increment an implied ''list-item'' <a>counter</a>
76+
(see [[#list-item-counter]]).
8677

8778
<!--
8879
██ ██ ███ ████████ ██ ██ ████████ ████████ ██████
@@ -808,6 +799,19 @@ Manipulating Counters: the 'counter-increment', 'counter-set' and 'counter-reset
808799
The same principles apply to the 'counter-set' and 'counter-increment' properties.
809800
</div>
810801

802+
<h3 id="list-item-counter">
803+
The special ''list-item'' counter</h3>
804+
805+
<a>List items</a> automatically increment
806+
a special <dfn value for="counter-increment, counter-set, counter-reset, counter(), counters()">list-item</dfn> <a>counter</a>.
807+
Unless the 'counter-increment' property explicitly specifies
808+
a different increment for the ''list-item'' <a>counter</a>,
809+
it must be incremented by 1 on every <a>list item</a>,
810+
at the same time that <a>counters</a> are normally incremented.
811+
(This has no effect on the values of the 'counter-*' properties.)
812+
813+
Issue: More definition.
814+
811815

812816
<h3 id="creating-counters">
813817
Creating and Inheriting Counters</h3>
@@ -1344,7 +1348,7 @@ This section documents the changes since previous publications.
13441348

13451349
Use <<custom-ident>> consistently for counter names.
13461350

1347-
<h3>Changes From CSS2.1</h3>
1351+
<h3 id="changes-from-css2">Changes From CSS2.1</h3>
13481352

13491353
<p>As described in the introduction section, there are significant changes in this module when
13501354
compared to CSS2.1.
@@ -1354,6 +1358,6 @@ Use <<custom-ident>> consistently for counter names.
13541358

13551359
<li>'list-style-type' now accepts a <<string>>.
13561360

1357-
<li>The list-item predefined counter identifier has been introduced.
1361+
<li>The ''counter-set/list-item'' predefined counter identifier has been introduced.
13581362
</ol>
13591363

0 commit comments

Comments
 (0)