Re: [csswg-drafts] [css-page][css-env] Expose unprintable areas via CSS (#11395)

I guess in that case you could get zero (and the browser would just position / lay out things accounting for the unprintable margin).

> This means that authors have no means of confidently setting page margins to prevent content (inside a page margin box, or even inside the page area) from getting clipped.

Firefox at least has a mechanism to ensure the page margins are at least the unprintable margin (unwriteable in Gecko terminology) [here](https://searchfox.org/mozilla-central/rev/345ec3c55ddda5f0ce37168f0644dcdcc4834409/layout/base/nsPresContext.cpp#2193-2201), so I haven't seen that come up too much in practice, fwiw.

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


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

Received on Tuesday, 21 January 2025 10:02:15 UTC