Re: [csswg-drafts] Reconsider <An+B># for :heading (#12599)

I think it would be unfortunate if it accepted *just* an integer. If we have to choose between `<An+B>` and `<integer>#`, I prefer `<integer>#`. As you say, we only have six levels, and even if that expands a bit, it's not that bad to work with.

The difference between `:heading(1, 2, 3)` and `:is(:heading(1), :heading(2), :heading(3))` is pretty big for what I expect is something that would be relatively common.

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


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

Received on Wednesday, 13 August 2025 15:10:08 UTC