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

Re: [csswg-drafts] [css-lists] Contradictory normative requirements for implicit 'list-item' counter? (#4167)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Aug 2019 07:07:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-518113470-1564988850-sysbot+gh@w3.org>
> Do you think it's a problem that it seems impossible for HTML to follow the "should" requirement without magic child counters, or other unspecified mechanisms?

I think it's better to have it mostly implemented via CSS mechanisms with very limited magic than completely implemented by magic. I believe this in principle, but also it has major benefits to authors, because it allows them to adjust the styling without having to recreate all of its behavior from scratch (while also suppressing the browser's default rendering). I think the examples in https://drafts.csswg.org/css-lists-3/#list-item-counter demonstrate this well: trying to recreate the x.y.z numbering style from scratch would be much harder, particularly if one wanted to handle the `start` and `value` attributes correctly, and for the reversed list, wouldn't even be possible.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4167#issuecomment-518113470 using your GitHub account
Received on Monday, 5 August 2019 07:07:32 UTC

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