Mixed pages in landscape/portrait mode are printed using the mode of the first one
Categories
(Core :: Printing: Output, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | affected |
People
(Reporter: calixte, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
STR:
- open the attached html and print it.
The first page should be in portrait and the second in landscape mode.
When I print to pdf, the output is a pdf with two pages in portrait mode.
If I swap the P and the L on the div styles, it's the opposite the two printed pages are in landscape mode.
The context is pdf.js: when we print a pdf with different modes we want to have the same modes for the output.
I tested in Chrome and it works correctly.
Comment 1•2 years ago
|
||
This is currently expected behavior, as we do not support mixed page sizes yet (this was specifically disallowed by bug 1802238), although it is a bit unfortunate for some documents. We do definitely want to implement this at some point.
This will require either mixed page-size support to be fully tested enabled, or page-orientation to be fully implemented and enabled and the document to rotate the later pages using @page{ orientation: rotate-* }
.
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:jwatt, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•1 year ago
|
||
I think this might be fixed -- at least I'm seeing expected results in current Nightly. I'll attach a PDF of what I'm seeing.
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
Using mozregression --find-fix
, it looks like this started working as-expected (for the attached testcase) as of bug 1833244's fix landing. --> Duping.
Comment 6•1 year ago
|
||
Is it worth/feasible adding a test with the attached testcase?
Comment 7•1 year ago
|
||
Likely yes, worth adding a test. It looks like we didn't add any tests or mark any tests passing in dupe-target bug 1833244 (with one exception which isn't really passing as discussed in bug 1859823 comment 0).
I think it should be possible to morph the attached testcase into a WPT test. I'll take a look.
Updated•1 year ago
|
Description
•