@@ -1073,13 +1073,29 @@ The Implicit ''list-item'' Counter</h3>
1073
1073
Specifically,
1074
1074
unless the 'counter-increment' property explicitly specifies
1075
1075
a different increment for the ''list-item'' counter,
1076
- it must be incremented by 1 on every [=list item=] ,
1076
+ it must be incremented by the <dfn export>default list-item increment</dfn>
1077
+ (which is 1 by default)
1078
+ on every [=list item=] ,
1077
1079
at the same time that <a>counters</a> are normally incremented
1078
1080
(exactly as if the [=list item=] had ''list-item 1'' appended to their 'counter-increment' value,
1079
1081
including side-effects such as possibly [=instantiating=] a new [=counter=] , etc).
1080
1082
This does not affect the [=specified value|specified=] or [=computed values=]
1081
1083
of 'counter-increment' .
1082
1084
1085
+ The host language's semantics can imply different values
1086
+ for this automatic counter-increment.
1087
+ In that case, the [=default list-item increment=] must instead
1088
+ reflect the host language's semantics.
1089
+ (For example, in HTML <code highlight=html> <ol reversed></code>
1090
+ implies that ''list-item'' counts <em> down</em> on that list,
1091
+ so the [=default list-item increment=] is -1 for <{li}> s in such lists.
1092
+ See, e.g. [[#ua-stylsheet]] .
1093
+
1094
+ <!--
1095
+ See old <a href="https://github.com/w3c/csswg-drafts/issues/2464#issuecomment-375492907">WG discussions</a>
1096
+ and newer <a href="https://github.com/w3c/csswg-drafts/issues/3686">issue discussion</a> .
1097
+ -->
1098
+
1083
1099
<div class="example">
1084
1100
Because each [=list item=] automatically increments
1085
1101
the ''counter-increment/list-item'' counter by 1,
@@ -1128,19 +1144,6 @@ The Implicit ''list-item'' Counter</h3>
1128
1144
</pre>
1129
1145
</div>
1130
1146
1131
- UAs and host languages should ensure
1132
- that the ''counter-increment/list-item'' counter values
1133
- by default
1134
- reflect the underlying numeric value dictated by host language semantics
1135
- when setting up list item styling
1136
- in their UA style sheet and presentational hint style mappings.
1137
- See, e.g. [[#ua-stylesheet]] .
1138
-
1139
- <!--
1140
- See old <a href="https://github.com/w3c/csswg-drafts/issues/2464#issuecomment-375492907">WG discussions</a>
1141
- and newer <a href="https://github.com/w3c/csswg-drafts/issues/3686">issue discussion</a> .
1142
- -->
1143
-
1144
1147
<div class="example">
1145
1148
In the following example,
1146
1149
the 'content' property is used to create tiered numbering
0 commit comments