Closed Bug 1832427 Opened 2 years ago Closed 2 years ago

Cross-origin iframe mis-scaled with text scale factor >0

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

If I set Windows' "Make text bigger" setting to something > 100%, then printing http://crisal.io/tmp/cross-origin-iframe-simple.html shows the wrong scale.

Usually this happened because the frontend never specified any zoom for
these, but once we started honoring the system scale factor, well...

For printing, we should use the print scale factor to determine
css-to-device scale. I assume text scale we could keep, but that doesn't
seem worth it and it seems preferable to keep stuff consistent between
zoom and OS text scale / zoom.

I don't know of another reasonable way to test this other than this (and
it kinda sucks), but I'm open to ideas.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d36ba840f6ab Don't apply full/text zoom to print docs. r=dholbert
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1832953
No longer blocks: 1830163
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: