Bug 23141 - Full Page Zoom: there is a limit to the minimum value of zoomFactor
Summary: Full Page Zoom: there is a limit to the minimum value of zoomFactor
Status: RESOLVED REMIND
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 12:09 PST by Adam Treat
Modified: 2009-02-13 07:04 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Treat 2009-01-06 12:09:39 PST
Hi,

Using the newly introduced fixedLayoutSize feature with the Qt port I discovered a potential bug in the full page zoom implementation.  Specifically, if I set the fixedLayoutSize to, say 1024x768, and then set my viewport to a sufficiently small size, say 260x550, then I load up google.com/news and set a zoom factor such that the page should fit perfectly within the viewport with no horizontal scrollbar; something interesting is noticed - the zoom factor is not completely respected.

What appears to be happening is RenderView has an overflow width that it will not go below.  Thus the docWidth, not the viewWidth becomes the dominating factor.  I suspect this is because some elements refuse to respect the zoom factor if it is sufficiently small.

Thoughts on what is going on or how this might be fixed?
Comment 1 Adam Treat 2009-01-06 12:35:07 PST
Hyatt suggested minimumFontSize combined with parts of RenderThemeQt not respecting the zoom size and he appears to be right.  I'll keep this open for fixes to the render theme.