Re: [csswg-drafts] [css-lists-4][css-content-3] Add counter-style property to associate default counter style (#8997)

Thank you @fantasai for bringing up `target-counter`. This case has always bugged me - my chapters are styled in `upper-roman`, but if I use `target-counter(attr(href url), chapter)` I get decimal, and I've no way of saying "give me the style used by the target". So I thoroughly support this.

One worry I have with `counter-style` is the additive CSS issue - presuming a syntax like `counter-style: chapter upper-roman`, I can set the style for a particular counter but only by resetting all other styles. I know it's not a new issue or specific to this property, and I appreciate it's a tricky one.


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


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

Received on Wednesday, 21 June 2023 22:05:12 UTC