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

@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