RESOLVED FIXED 42863
REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
https://bugs.webkit.org/show_bug.cgi?id=42863
Summary REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
Xiaomei Ji
Reported 2010-07-22 17:45:44 PDT
Version: WebKit r63854 (was built on 21 July 2010 and is a 27.9 MB download) Steps to reproduce: 1. open any webpage, for example: www.apple.com/startpage 2. continue to zoom in the page to the largest. 4. reload the page The page appears to be reset to normal size. But the zoom level is preserved as the largest zoom level. (the "zoom in" is greyed, and press zoom in wont work. But press zoom out will work which actually decreases the font size from the one before reload, and the font size appears to be bigger comparing to the one before zoom out). Tested in: OSX 10.6
Attachments
Patch (47.52 KB, patch)
2010-09-17 15:34 PDT, Darin Adler
sam: review+
Layout Test (48.27 KB, patch)
2010-09-17 17:15 PDT, Daniel Bates
no flags
Alexey Proskuryakov
Comment 1 2010-07-24 17:12:23 PDT
In shipping Safari/WebKit 5.0, the page stays zoomed in.
Alexey Proskuryakov
Comment 2 2010-07-24 17:12:48 PDT
Matt Lilek
Comment 3 2010-09-14 12:27:11 PDT
*** Bug 41573 has been marked as a duplicate of this bug. ***
Matt Lilek
Comment 4 2010-09-14 12:27:23 PDT
Darin Adler
Comment 5 2010-09-14 12:58:46 PDT
I’m surprised that moving these functions caused this. I guess a new FrameView is created and does not inherit the zoom level from the older FrameView?
Darin Adler
Comment 6 2010-09-17 15:34:16 PDT
Daniel Bates
Comment 7 2010-09-17 17:13:23 PDT
We should be able to test this change by using a render tree dump/pixel test and eventSender.zoomPageIn().
Daniel Bates
Comment 8 2010-09-17 17:15:04 PDT
Created attachment 67977 [details] Layout Test I was not sure where to place this test case. I noticed other test cases that used eventSender.zoomInPage() in fast/css. So, I put the test case in this directory. I am open to suggestions.
Daniel Bates
Comment 9 2010-09-17 17:16:10 PDT
(In reply to comment #8) > Created an attachment (id=67977) [details] > Layout Test > > I was not sure where to place this test case. I noticed other test cases that used eventSender.zoomInPage() in fast/css. So, I put the test case in this directory. I am open to suggestions. I mean't to write eventSender.zoomPageIn() instead of eventSender.zoomInPage().
Darin Adler
Comment 10 2010-09-17 17:22:54 PDT
Comment on attachment 67977 [details] Layout Test I’m surprised this works, but it’s good news that it does.
Darin Adler
Comment 11 2010-09-17 17:32:48 PDT
WebKit Review Bot
Comment 12 2010-09-17 17:43:20 PDT
http://trac.webkit.org/changeset/67762 might have broken Qt Linux Release minimal, Qt Linux ARMv5 Release, and Qt Linux ARMv7 Release
Dimitri Glazkov (Google)
Comment 13 2010-09-17 19:48:57 PDT
(In reply to comment #12) > http://trac.webkit.org/changeset/67762 might have broken Qt Linux Release minimal, Qt Linux ARMv5 Release, and Qt Linux ARMv7 Release All Chromium builds are borked :(
Eric Seidel (no email)
Comment 14 2010-09-18 03:21:25 PDT
This appears to have torched the tree. :(
Mihai Parparita
Comment 15 2010-09-18 10:10:24 PDT
I've put up a patch at bug 46040 that should at least fix the Snow Leopard bot (and unblock the commit queue) if someone wouldn't mind r+-ing and landing it for me.
Darin Adler
Comment 16 2010-09-18 16:00:08 PDT
Sorry about the incorrect logic and build breakage. Hope everything’s fixed now. Thanks to those who helped patch things up.
Note You need to log in before you can comment on or make changes to this bug.