RESOLVED FIXED 184782
[Extra zoom mode] Add a mechanism to extend the height of the layout viewport in extra zoom mode
https://bugs.webkit.org/show_bug.cgi?id=184782
Summary [Extra zoom mode] Add a mechanism to extend the height of the layout viewport...
Wenson Hsieh
Reported 2018-04-19 08:31:04 PDT
Attachments
Patch (25.37 KB, patch)
2018-04-19 10:04 PDT, Wenson Hsieh
no flags
Skip fast/visual-viewport/extrazoom (25.96 KB, patch)
2018-04-19 10:29 PDT, Wenson Hsieh
thorton: review+
Patch for landing (26.18 KB, patch)
2018-04-19 13:19 PDT, Wenson Hsieh
no flags
Wenson Hsieh
Comment 1 2018-04-19 10:04:35 PDT
Wenson Hsieh
Comment 2 2018-04-19 10:29:13 PDT
Created attachment 338339 [details] Skip fast/visual-viewport/extrazoom
Tim Horton
Comment 3 2018-04-19 10:55:36 PDT
Comment on attachment 338339 [details] Skip fast/visual-viewport/extrazoom View in context: https://bugs.webkit.org/attachment.cgi?id=338339&action=review > Source/WebCore/page/FrameView.cpp:1542 > + return { baseLayoutViewportSize.width(), std::min<LayoutUnit>(documentHeight, (1 + heightExpansionFactor) * layoutViewportHeight) }; We might want to think about doing this is the horizontal direction too at some point? But fixed-left/right and horizontal scrolling is not a big thing. > LayoutTests/fast/visual-viewport/extrazoom/layout-viewport-after-scrolling-and-resizing.html:39 > + await UIHelper.ensurePresentationUpdate(); Maybe a comment! This shouldn’t be needed except for a bug. Which you should file. And mention here.
Wenson Hsieh
Comment 4 2018-04-19 11:03:21 PDT
(In reply to Tim Horton from comment #3) > Comment on attachment 338339 [details] > Skip fast/visual-viewport/extrazoom > > View in context: > https://bugs.webkit.org/attachment.cgi?id=338339&action=review > > > Source/WebCore/page/FrameView.cpp:1542 > > + return { baseLayoutViewportSize.width(), std::min<LayoutUnit>(documentHeight, (1 + heightExpansionFactor) * layoutViewportHeight) }; > > We might want to think about doing this is the horizontal direction too at > some point? But fixed-left/right and horizontal scrolling is not a big thing. I considered this, but decided to extend the height only for now...let's extend the width too if we find any websites that are actually impacted by this. > > > LayoutTests/fast/visual-viewport/extrazoom/layout-viewport-after-scrolling-and-resizing.html:39 > > + await UIHelper.ensurePresentationUpdate(); > > Maybe a comment! This shouldn’t be needed except for a bug. Which you should > file. And mention here. Good call. Filed https://bugs.webkit.org/show_bug.cgi?id=184788, and I'll mention it here too with a FIXME.
Wenson Hsieh
Comment 5 2018-04-19 13:19:50 PDT
Created attachment 338353 [details] Patch for landing
WebKit Commit Bot
Comment 6 2018-04-19 14:00:56 PDT
Comment on attachment 338353 [details] Patch for landing Clearing flags on attachment: 338353 Committed r230819: <https://trac.webkit.org/changeset/230819>
Note You need to log in before you can comment on or make changes to this bug.