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

[csswg-drafts] [css-lists] Contradictory normative requirements for implicit 'list-item' counter? (#4167)

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

== [css-lists] Contradictory normative requirements for implicit 'list-item' counter? ==
https://drafts.csswg.org/css-lists-3/#list-item-counter

> Unless the counter-increment property explicitly specifies a different increment for the list-item counter, it must be incremented by 1 on every list item, at the same time that counters are normally incremented.

but then later

> UAs and host languages should ensure that the list-item counter values reflect the underlying numeric value dictated by host language semantics when setting up list item styling in their UA style sheet and presentational hint style mappings.
>
> Not really sure how to word this requirement, but the following example is expected to work.

In particular consider cases like `<ol reversed>` or `<li value="">`. The host language [specifies](https://html.spec.whatwg.org/#ordinal-value) an algorithm for figuring out the "underlying numeric value". But that value decreases. This seems to contradict the above "must" that it be incremented by 1.

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

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