- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Thu, 13 Mar 2025 15:36:19 +0000
- To: public-css-archive@w3.org
> Although "page-size" is ambiguous (is it the page box size or the page area size?), it doesn't even set the page size. It sets the size of the containing block of the page box Yes it does - the `margin-box`, in other words. Putting my PDF hat on, it sets the PDF "trim" box. Add the ["bleed" ](https://www.w3.org/TR/css-page-3/#bleed) property to that and you get the bleed box, which is typically the same as the content box, which is typically the same as or smaller than the media box, which is the physical size of the page. Naming things is hard :smile: Once you consider how `size` interacts with the bleed property, it's actually the only way it can be implemented - it's not ambiguous, just perhaps under-documented in css-page. And again want to stress this behaviour is fairly consistent across all (that I know of) PDF-focused layout engines and has for many years. -- GitHub Notification of comment by faceless2 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11925#issuecomment-2721689721 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 13 March 2025 15:36:19 UTC