Bug 61901 - Image cannot return to original zoom
Summary: Image cannot return to original zoom
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://code.google.com/p/chromium/iss...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 19:07 PDT by mkterra
Modified: 2011-06-01 23:54 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mkterra 2011-06-01 19:07:38 PDT
Originally reported in Chrome, but also observed in Safari 5:
http://code.google.com/p/chromium/issues/detail?id=84325

1. Go to http://upload.wikimedia.org/wikipedia/en/5/55/X-MenFirstClassMoviePoster.jpg
2. Zoom the image using the mouse till it's bigger than your screen size in both width and height
3. Click the image (the cursor showing a hand lens with a 'plus' (+) on it). The image enlarges.
4. Now, press Ctrl + 0

What is the expected result?
The expected result is the image to resize to it's original size.

What happens instead?
Instead, the image is larger than it's original size. And even when the image is lowered to it's original size (which is actually smaller than the original size interpreted by Chrome), and then Ctrl + 0 is pressed, the image returns to its larger-than-original size.

See also:
http://code.google.com/p/chromium/issues/detail?id=31578
http://code.google.com/p/chromium/issues/detail?id=65011

Which roughly correspond to Webkit bug 18051:
https://bugs.webkit.org/show_bug.cgi?id=18051
Comment 1 Alexey Proskuryakov 2011-06-01 23:54:49 PDT
I don't see a way to zoom with cursor in Safari, but I can certainly reproduce with Cmd-"+" and Cmd-"-".