Closed
Bug 1860675
Opened 2 years ago
Closed 2 years ago
Page with a break-after and a page style induce an extra page
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1819335
People
(Reporter: calixte, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
677 bytes,
text/html
|
Details |
STR:
- open the attachment;
- print.
8 pages are output when only 4 are expected.
If I comment the line page: N; then the output is ok.
For context, we've some pdf with different page orientations, so each page will get a style="page: Pxx where xx depends on the orientation and to be sure that we've a page for each pdf page, we use this:
https://github.com/mozilla/pdf.js/blob/377af6892b6c9e22a5fc545dfd454ad73f411990/web/viewer.css#L1403-L1404
Comment 1•2 years ago
|
||
Just compared this on Nightly with Google Chrome. Nightly has 4 redundant pages indeed.
Severity: -- → S3
Comment 2•2 years ago
|
||
This looks like the same as bug 1819335, where a change in page-name and a break-after (nsPageBreakFrame) are not coalesced. I tested this with that patch locally and it fixes it.
You need to log in
before you can comment on or make changes to this bug.
Description
•