RESOLVED FIXED 94863
[BlackBerry] Add WebPage API to reset block zoom
https://bugs.webkit.org/show_bug.cgi?id=94863
Summary [BlackBerry] Add WebPage API to reset block zoom
Arvid Nilsson
Reported 2012-08-23 15:06:32 PDT
This is an alternative to blockZoomAnimationFinished() when you don't want to perform a rerendering of the whole web page at the end of block zoom.
Attachments
Patch (2.38 KB, patch)
2012-08-23 15:13 PDT, Arvid Nilsson
no flags
Arvid Nilsson
Comment 1 2012-08-23 15:13:45 PDT
Arvid Nilsson
Comment 2 2012-08-23 15:14:08 PDT
Internal PR 187478
Arvid Nilsson
Comment 3 2012-08-23 15:15:10 PDT
This patch doesn't really make sense without the rest of PR 187478 as context, but I hope the commit message provides the required background.
Arvid Nilsson
Comment 4 2012-08-23 15:17:15 PDT
The problem is basically that the block zoom algorithm needs to compare the current scale with the final scale of block zoom, and if they're almost the same, it should reset instead. However, the current scale that should be used is the scale multiplied by any incremental zoom factor, and the latter is not implemented (or pushed down to WebKit layer) yet.
WebKit Review Bot
Comment 5 2012-08-24 06:21:01 PDT
Comment on attachment 160260 [details] Patch Clearing flags on attachment: 160260 Committed r126578: <http://trac.webkit.org/changeset/126578>
WebKit Review Bot
Comment 6 2012-08-24 06:21:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.