- From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Jan 2023 00:49:34 +0000
- To: public-css-archive@w3.org
dholbert has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-page-3] Specify how to handle page sizes with zero area == Filing this issue to hopefully get some clarification on two related issues that I came across recently when thinking about `@page { size: ... }` which I think need to be addressed in the spec, for the `size` descriptor in `@page` rules: https://w3c.github.io/csswg-drafts/css-page-3/#page-size-prop (1) What should be done if `0` is specified for the `width` and/or `height` components? (2) Or, for nonzero sizes -- what should be done if the `size` isn't larger than the specified margins for the page? (In case 2, the naive approach would produce a sheet of paper with zero space for content, which is not great.) Based on my testing in https://bugzilla.mozilla.org/show_bug.cgi?id=1807985 , it looks like Chromium handles both of these by falling back, effectively treating the size as `auto` at used value time, I think. I suggest we add that to the spec. I've got a bunch of testcases attached there as well, FWIW. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8335 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 January 2023 00:49:36 UTC