Page footers or headers get clipped in print-preview at certain window-sizes, CSS 'page-orientation' rotate-right or rotate-left
Categories
(Core :: Print Preview, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
Details
Attachments
(5 files)
STR:
- Print-preview the attached testcase.
- Look at the page footers (page number and timestamp).
- Resize your window to be wider or skinnier (so that the scale of the print-preview rendering changes)
ACTUAL RESULTS:
At certain window-sizes (particularly larger sizes for testcase 1), the footers are clipped entirely.
EXPECTED RESULTS:
No such clipping.
I'm using Nightly 120.0a1 (2023-10-18) (64-bit) on Ubuntu 22.04.
Notes:
- I think this issue only happens when
page-orientation
is used. Likely we're not taking the rotation into account when setting up our display lists, or something to that effect. - It only seems to affect the footer-text. In my brief testing so far, e.g. in a modified testcase with content-that-fills-the-paper (e.g. just a giant border), the actual content doesn't get clipped.
Reporter | ||
Comment 1•8 months ago
|
||
Reporter | ||
Comment 2•8 months ago
|
||
Reporter | ||
Comment 3•8 months ago
•
|
||
The behavior changes if I specify an explicit page-size like in this third testcase. I'll attach some screenshots showing the odd behavior here (where the clipping changes in response to my window-resizing).
Reporter | ||
Comment 4•8 months ago
|
||
Here's a screenshot of testcase 1, with the footers partially (mostly) clipped. If my window is a bit skinnier than the window shown here, then there's no clipping; everything is fine. If my window is a bit wider, then the footer is entirely clipped.
Reporter | ||
Updated•8 months ago
|
Reporter | ||
Comment 5•8 months ago
|
||
Reporter | ||
Comment 6•8 months ago
|
||
In testcase 3, the mitigation is the opposite from testcases 1-2: the issue goes away when I make my window wider, whereas it gets progressively-more-clipped as I make my window skinnier.
Reporter | ||
Comment 7•8 months ago
•
|
||
Also, my testcase 3 screenshot is shown using a physical printer as my destination; but that's not important -- this reproduces when I choose the Save-to-PDF print target as well.
Reporter | ||
Comment 8•8 months ago
|
||
This might be a manifestation of the same issue we're hitting in bug 1763246.
Updated•8 months ago
|
Description
•