- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Mar 2024 17:05:38 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-lists-3] list-item counter nesting is confusing`. <details><summary>The full IRC log of that discussion</summary> <keithamus> oriol: something discussed in December. narrow counters<br> <keithamus> oriol: still propagated to descendents, not to following siblings<br> <keithamus> oriol: agreed to have something like this in December. Details weren't resolved. Let's do that now<br> <keithamus> oriol: 1. Syntax to enable this<br> <keithamus> oriol: first idea something like reversed counters, functional notation in the counter-reset prop.<br> <keithamus> oriol: takes name of counter as argument<br> <keithamus> oriol: maybe not great. how do you handle interactions with counter thats both narrow and reversed?<br> <keithamus> oriol: in general narrow counters are better default. Not defaault because we didnt have counter set<br> <keithamus> oriol: maybe just better to have option to set all to narrow? fantasai proposed new property counter-scope: narrow<br> <keithamus> oriol: need exception for list-item counter to preserve compat with html ordinals<br> <keithamus> oriol: list item counter would be magical but it is alreadu<br> <keithamus> s/alreadu/already<br> <kizu> q+<br> <astearns> ack kizu<br> <keithamus> kizu: given this is obscure issue. counters with list item is not something authors know or use.<br> <keithamus> kizu: few years ago there was a lot of compat issues. Now its better. From what I see theres some cross browser issues still<br> <keithamus> kizu: can we just set default to work how we expect it to work?<br> <keithamus> oriol: problem is blink and webkit html ordinals arent implemented using css counters<br> <keithamus> oriol: according to spec it should be magical<br> <keithamus> oriol: firefox is doing it as counter but when this change happened found some websites breaking. Added hacky narrow counters<br> <keithamus> oriol: we cant change html ordinals to have wide propagation<br> <keithamus> oriol: some expect to be narrow<br> <keithamus> oriol: normal css counters have had this behavior, people rely on this.<br> <keithamus> oriol: eg without counter-set property people use counter-reset which they want propagated to siblings<br> <keithamus> oriol: conflict between these. Need to keep old behavior for counters<br> <keithamus> oriol: we want to allow users to be able to switch to html ordinals<br> <keithamus> kizu: just for counters without css counters function?<br> <keithamus> oriol: assuming html ordinals use magical list item counter<br> <keithamus> oriol: we need something that works for both cases<br> <miriam> q+<br> <keithamus> oriol: proposal with new property - counter could be narrow if list item<br> <emilio> q+<br> <keithamus> oriol: or if property is set to narrow. Allow authors to decide to opt in to html ordinals<br> <keithamus> oriol: preserve by default existing in all cases<br> <keithamus> kizu: only case is that not many cases for counters list-item. If we could make default for list types work more as expected but if not possible its okay<br> <astearns> ack miriam<br> <keithamus> miriam: curious if proposed property sets the default for all counters or just the non list item ones?<br> <keithamus> miriam: if you set wide does it change how list item counters work?<br> <keithamus> fantasai: no. counter properties dont effect list item unless named<br> <keithamus> fantasai: list-item counter would have narrow by default unless you explicitly set list-item counter to wide.<br> <keithamus> fantasai: just like conter-reset none<br> <astearns> ack emilio<br> <astearns> ack dbaron<br> <emilio> q-<br> <keithamus> astearns: we're at time. Can we take back to issue?<br> <keithamus> astearns: make async resolution?<br> <dbaron> I wanted to say 2 things:<br> <dbaron> 1. the reason compat is interesting here is that we had a CSS feature that was designed to be the underlying mechanism behind an HTML feature, but there was a long period of time where *both* features were implemented but without the underlying-ness. So we have compat concerns about both features separately, but we also want to make them fit together.<br> <dbaron> 2. I'd be interested in seeing what the proposed property looks like in a little more detail: name, values, is it inherited, what does it apply to (counters established by the element?).<br> <fantasai> Not inherited, applies to counters declared in counter-reset<br> <fantasai> just like counter-style<br> <dbaron> (Also, Zoom decided that my browser had denied microphone permission to it... despite that I'd talked earlier in the meeting without leaving Zoom!)<br> <oriol> I would prefer it to be inherited, even if that's not consistent with other counter properties<br> <dbaron> see, that's why I wanted to ask :-)<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9076#issuecomment-2023328493 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 27 March 2024 17:05:39 UTC