RESOLVED FIXED 134286
[iOS][WK2] Rotating a zoomed PDF leads to weird scrolling behavior
https://bugs.webkit.org/show_bug.cgi?id=134286
Summary [iOS][WK2] Rotating a zoomed PDF leads to weird scrolling behavior
Tim Horton
Reported 2014-06-24 18:49:43 PDT
The root view bounds and contentSize need to be scaled :|
Attachments
patch (2.88 KB, patch)
2014-06-24 18:56 PDT, Tim Horton
benjamin: review+
Radar WebKit Bug Importer
Comment 1 2014-06-24 18:50:41 PDT
Tim Horton
Comment 2 2014-06-24 18:56:43 PDT
Benjamin Poulain
Comment 3 2014-06-24 19:49:37 PDT
Comment on attachment 233775 [details] patch Updating the frame to account for the scale makes sense. But updating this on scroll make no absolutely no sense to me.
Tim Horton
Comment 4 2014-06-24 21:09:50 PDT
(In reply to comment #3) > (From update of attachment 233775 [details]) > Updating the frame to account for the scale makes sense. > > But updating this on scroll make no absolutely no sense to me. It ... isn't updated on scroll. Only web_setContentProviderData and web_setMinimumSize call _computePageAndDocumentFrames. Maybe you're thinking of _revalidateViews? Or I'm missing something?
Tim Horton
Comment 5 2014-06-25 14:43:48 PDT
Note You need to log in before you can comment on or make changes to this bug.