Bug 23141

Summary: Full Page Zoom: there is a limit to the minimum value of zoomFactor
Product: WebKit Reporter: Adam Treat <manyoso>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED REMIND    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: All   

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.