W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

Re: [csswg-drafts] [css-lists] CSS counter scope/inheritance is incompatible with HTML ordinals (#5477)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 01 Sep 2020 19:46:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-685093439-1598989609-sysbot+gh@w3.org>
> The outer-scoped list-item will be incremented, then a new scope is created with the counter value of 1.

@faceless2 If `counter-reset: list-item` is applied afterwards, then the inner scope will have value 0. And if counter inheritance prefers the previous sibling over the parent, the next element will still get the value from the inner scope? I don't get how your proposal solves the problem.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 September 2020 19:46:52 UTC

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