Summary: | FrameView::setScrollPosition should clamp scroll position before handing it to ScrollingCoordinator instead of depending on ScrollView to do this | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
Component: | Layout and Rendering | Assignee: | Tim Horton <thorton> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, ap, bdakin, sam, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tim Horton
2013-02-11 15:05:56 PST
Uhh, if you follow the steps to reproduce, you see flashing. Because we're scrolling out of view for one frame. Created attachment 187690 [details]
patch
Is this related to bug 105902? I don't think so, no. Comment on attachment 187690 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=187690&action=review > Source/WebCore/page/FrameView.cpp:1783 > + if (newScrollPosition == scrollPosition()) In Safari Mobile, when the page loads, is the scrollPosition() already at (0,0), or is it at some other value? If it starts off at (0,0), this change stops window.scrollTo(0,0) from hiding the URL bar. window.scrollTo(0,1), would be unaffected. Any information you can provide here would be very helpful, especially with respect to https://bugs.webkit.org/show_bug.cgi?id=107026 Thanks! |