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

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

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Aug 2019 19:46:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-517823172-1564775208-sysbot+gh@w3.org>
@tabatkins It's intentional. We initially implemented the `counter-increment` for list items as a _computed value_ but we [changed it](https://bugzilla.mozilla.org/show_bug.cgi?id=1539171) to _used value_ magic instead per the resolution in #3686. `<li value>` is a simple [attribute mapping](https://searchfox.org/mozilla-central/rev/b3fd653bc6078b3be4a8d06db39eddc5714755da/dom/html/HTMLLIElement.cpp#70) that set the `counter-set` computed value. We discussed changing that to used-value time too, but decided not to since it's more complicated to implement for no real benefit. Ditto for [`<ol start>`](https://searchfox.org/mozilla-central/rev/b3fd653bc6078b3be4a8d06db39eddc5714755da/dom/html/HTMLSharedListElement.cpp#87).

GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4168#issuecomment-517823172 using your GitHub account
Received on Friday, 2 August 2019 19:46:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:51 UTC