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

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