Open Bug 1818845 Opened 2 years ago Updated 2 years ago

Update the page size values passed in PrintPreviewResultInfo to always be in portrait orientation

Categories

(Toolkit :: Printing, task)

task

Tracking

()

People

(Reporter: fchasen, Assigned: fchasen)

References

Details

D160303 introduced passing the pageWidth and pageHeight in the PrintPreviewResultInfo callback.

Currently these values are passed as they were defined in the @page style, but we canonically represent paper sizes using the width/height of a portrait-oriented sheet so we should always pass these as portrait as long as a landscape orientation is also passed.

We are handling this in print.js for the time being, as not addressing it at all was causing issues in Linux.

Depends on: 1793220
You need to log in before you can comment on or make changes to this bug.