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

Now Firefox follows the spec change, but but not consistently. I declared a nested counter on a span, and it was inherited to a subsequent ::after Element. When I declare the nested counter on a li element, Firefox isolates it, but Chrome inherits it to the next item. So Chrome doesn't respect the Spec change at all, and Firefox does it partially. 

Compare Chrome and Firefox in [this JSFiddle](https://jsfiddle.net/Rolf_b/dtnkmqyu/).

That's really confusing.

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


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

Received on Wednesday, 31 January 2024 09:30:46 UTC