Bug 19383

Summary: Image zoom sometimes doesn't work
Product: WebKit Reporter: Benjamin Meyer <ben>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: hausmann, mitz
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://i29.tinypic.com/250p4ew.jpg

Description Benjamin Meyer 2008-06-03 16:25:42 PDT
Load up an image.  Sometimes the image is at about 50% window size in both dimensions when it could be full size. Furthermore, sometimes the zoom function doesn't work, and it stays downsized even if 
clicked on.  To break the zoom I found resizing the window to be small, refreshing and then making the window big causes it to break.
Comment 1 mitz 2008-06-03 17:46:48 PDT
I think this behaves as designed: the zoom function never scales an image up. It is available only when the viewport is smaller than the image's native size, and then it toggles between full size and shrink-to-fit.
Comment 2 Benjamin Meyer 2008-06-04 06:04:22 PDT
Sorry I wasn't clear on that.  Sometimes the image is scaled down even though there is room for it at 100% and when you click on it to make it zoom to 100% it doesn't do anything even though the magnify cursor appears.  It should just match the behavior of Safari which it does not.

Comment 3 Simon Hausmann 2010-03-19 00:42:15 PDT
Works for me with r56184