W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2021

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 May 2021 17:03:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-845293292-1621530193-sysbot+gh@w3.org>
Good point, I didn't think of `counter-set` being used. I think I'd prefer the algo to stop at the first counter-set it encounters.  So in your example, the first li would be 7.

(The motivation for this is "what would you get if your elements were in the opposite order and the counter wasn't reversed".)

Here's a more complex example, with the counter value I'd expect in the text of each:

<ol reversed>
 <li value=5>5
 <li value=2>2

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 May 2021 17:03:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:33 UTC