Re: [csswg-drafts] [css-page] Should we allow resetting the `pages` counter? (#12824)

Having `pages` be a counter at all sounds wrong to me. In my head at least, a counter is supposed to change through the document. Constants like the total page count feel like a different thing.

Maybe it's widely used enough that this can't be changed, but I'd propose a different mechanism for getting the total page count, or other constants. Maybe even something like `env(page-count)`.

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


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

Received on Friday, 19 September 2025 09:23:08 UTC