Closed Bug 444448 Opened 16 years ago Closed 16 years ago

Zooming within Print-Preview doesn't scale text inside of iframes

Categories

(Core :: Print Preview, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: fixed1.9.1)

Attachments

(4 files)

Steps to reproduce: 1. Print-Preview testcase 2. Zoom in or out (by holding Ctrl and scrolling mousewheel) ACTUAL BEHAVIOR: - Page and iframe sizes scale correctly - Contents of iframe stay original size EXPECTED BEHAVIOR: - Contents of iframe should scale with the page. (Testcase coming up.) Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008052912 Firefox/3.0
Flags: wanted1.9.0.x?
Attached file Contents of iframe
Attached file testcase 1
(In reply to comment #0) > ACTUAL BEHAVIOR: > - Page and iframe sizes scale correctly > - Contents of iframe stay original size One more thing -- the underline seem to scale correctly, too. (separate from the unscaled text that it is supposed to be underlining) This results in the underline being far off on its own, or overlapping other text, both of which look really bad.
(In reply to comment #3) > One more thing -- the underline seem to scale correctly, too. The same is true of strikethrough (with the <del> tag)
Martijn says in IRC that he can reproduce this on Windows. Hardware / OS --> All
OS: Linux → All
Hardware: PC → All
Flags: wanted1.9.1?
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x+
Flags: blocking1.9.1?
Flags: wanted1.9.1?
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Flags: wanted1.9.0.x+
Just tried to track down a regression range, and it looks like this has been broken ever since zooming started working in print-preview. NO ZOOMING IN PRINT-PREV: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2pre) Gecko/2007110804 Minefield/3.0b2pre ZOOMING ALLOWED IN PRINT-PREV, BUT WITH THIS BUG: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2pre) Gecko/2007110904 Minefield/3.0b2pre
It looks like print-preview-zooming was enabled in bug 363265, which was landed in the checkin range between by the nightlies mentioned in my previous comment. Adding dependency.
Depends on: 363265
Also, FWIW: -- before bug 363265 landed, print-preview would simply start at the zoomlevel that the browser was using before print-preview was invoked (and then disallows zooming during print-preview) -- after bug 363265 landed, print-preview starts at 100% zoom-level, regardless of what the zoom level was before it was invoked. (and then it allows you to zoom, with this bug)
Blocks: 476841
See also bug 476841, which is basically the same as this bug but with <frame> instead of <iframe>. It's probably a dupe, but I just marked it as a dependency for now. That bug shows that images scale fine, too (in addition to underlines, as mentioned here in comment 3). It's apparently just the text itself that doesn't zoom. Perhaps this happens because text-zoom might make us change fonts, and we aren't letting ourselves do that inside of iframes
Summary: Zoom is broken in Print-Preview for pages with iframes → Zooming within Print-Preview doesn't scale text inside of frames/iframes
Summary: Zooming within Print-Preview doesn't scale text inside of frames/iframes → Zooming within Print-Preview doesn't scale text inside of iframes
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 425265
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: