Skip to content

Commit 5a347e8

Browse files
committed
[css-lists-3] Comment out ol[reversed] handling; clarify that style sheet is illustrative; add issue noting ongoing discussions about ol[reversed].
1 parent 1cc893c commit 5a347e8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

css-lists-3/Overview.bs

+8-1
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,12 @@ Appendix A: Sample Style Sheet For HTML</h2>
13861386

13871387
<em>This section is informative, not normative.
13881388
The [[HTML]] <a href="https://html.spec.whatwg.org/multipage/rendering.html#lists">Rendering</a> chapter
1389-
defines the normative default properties that apply to HTML lists.</em>
1389+
defines the normative default properties that apply to HTML lists;
1390+
this sample style sheet is provided to illustrate the CSS features
1391+
using familiar markup conventions.</em>
1392+
1393+
ISSUE: Discussion of how to support <code>ol[reversed]</code> list numbering in CSS is ongoing.
1394+
See, e.g. <a href="https://github.com/w3c/csswg-drafts/issues/4181">Issue 4181</a>.
13901395

13911396
<pre>
13921397
/* Set up list items */
@@ -1423,6 +1428,7 @@ Appendix A: Sample Style Sheet For HTML</h2>
14231428
counter-set: list-item attr(value integer, 1);
14241429
}
14251430

1431+
<!--
14261432
/* Handling reversed lists */
14271433
ol[reversed] {
14281434
counter-reset: list-item calc(attr(start integer, **magic**) + 1);
@@ -1431,6 +1437,7 @@ Appendix A: Sample Style Sheet For HTML</h2>
14311437
ol[reversed] > li {
14321438
/* HTML implies 'counter-increment: list-item -1' */
14331439
}
1440+
-->
14341441

14351442
/* Box Model Rules */
14361443
ol, ul {

0 commit comments

Comments
 (0)