W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

[csswg-drafts] [css-lists] How does the list-item counter affect display? (#4168)

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Thu, 01 Aug 2019 22:57:33 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-475923584-1564700252-sysbot+gh@w3.org>
domenic has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-lists] How does the list-item counter affect display? ==
https://drafts.csswg.org/css-lists-3/#list-item-counter

> In the following example, the list is modified to count by twos:
>
> ```csss
> ol.evens { counter-increment: list-item 2; }
> ```
>
> A three-item list would be rendered as
>
> ```
> 2. First Item
> 4. Second Item
> 6. Third Item
> ```

I can't find a normative requirement to support this rendering. The normative requirements I can find are all about the value of the list-item counter (although I think there are contradictions; see #4167). There is nothing in the spec that says that the list-item counter is to be used in rendering.

Perhaps the example is missing a `ol.evens::marker { content: counters(list-item,'.') '.'; }`, similar to the following Example 17?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4168 using your GitHub account
Received on Thursday, 1 August 2019 22:57:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:12 UTC