Skip to content

Commit 46084f7

Browse files
committed
[css-lists-3][editorial] Fixed Bikeshed issues
1 parent 4a1c8b3 commit 46084f7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

css-lists-3/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Abstract: This module contains CSS features related to list counters: styling th
2424
</pre>
2525

2626
<pre class='link-defaults'>
27+
spec:css-display-4; type:property; text:display
2728
spec:css-pseudo-4; type:selector; text:::before
2829
spec:selectors-4; type:dfn; text:selector
2930
spec:infra; type:dfn;
@@ -258,7 +259,7 @@ Properties Applying to ''::marker''</h4>
258259
</pre>
259260

260261
ISSUE: ''white-space: pre'' doesn't have quite the right behavior;
261-
''text-space-collapse: preserve-spaces'' + ''text-space-trim: discard-after''
262+
''white-space-collapse: preserve-spaces'' + ''white-space-trim: discard-after''
262263
might be closer to what's needed here.
263264
See discussion in <a href="https://github.com/w3c/csswg-drafts/issues/4448">Issue 4448</a>
264265
and <a href="https://github.com/w3c/csswg-drafts/issues/4891">Issue 4891</a>.
@@ -1006,7 +1007,7 @@ Creating and Inheriting Counters</h3>
10061007
These counters are represented as a <dfn>CSS counters set</dfn>,
10071008
which is a [=/set=]
10081009
whose values are each a [=tuple=] of:
1009-
a [=string=] (representing a counter’s [=name=]),
1010+
a [=string=] (representing a counter’s [=CSS counter/name=]),
10101011
an element (representing the counter’s [=creator=]),
10111012
a boolean (representing whether the counter is [=reversed=]),
10121013
and optionally an integer (representing the counter’s [=value=]).
@@ -1042,15 +1043,15 @@ Inheriting Counters</h4>
10421043
or an empty [=CSS counters set=] otherwise.
10431044

10441045
[=map/For each=] |counter| of |sibling counters|,
1045-
if |element counters| does not already contain a counter with the same [=name=],
1046+
if |element counters| does not already contain a counter with the same [=CSS counter/name=],
10461047
append a copy of |counter| to |element counters|.
10471048

10481049
4. Let |value source| be the [=CSS counters set=]
10491050
of the element immediately preceding |element| in [=tree order=].
10501051

10511052
[=map/For each=] |source counter| of |value source|,
10521053
if |element counters| [=set/contains=] a [=counter=]
1053-
with the same [=name=] and [=creator=],
1054+
with the same [=CSS counter/name=] and [=creator=],
10541055
then set the [=value=] of that counter
10551056
to |source counter|'s [=value=].
10561057
</div>

0 commit comments

Comments
 (0)