Re: [csswg-drafts] [css-lists] Omitted start value of reversed list isn't calculated right (#6233)

OK I've now updated #6297 so that it accumulates increments, counting the first element an extra time so that it gets the right value, and stopping at the first element using `counter-set`. I believe it matches what we discussed above.

It doesn't match up too well with `<ol reversed start=10>` when the `<li>` elements use a `counter-increment` other than -1 (such as -2 or -10), since HTML maps the `start` attribute to `counter-reset: reversed(list-item) <start> + 1` and not `counter-reset: reversed(list-item) <start> + <counter-increment-of-the-first-element>`. But maybe that is OK?

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6233#issuecomment-861583391 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 June 2021 15:10:49 UTC