Bug 82247

Summary: Find in page overlay and bouncy are not always positioned correctly
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: jamesr, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Anders Carlsson
Reported 2012-03-26 14:29:19 PDT
Find in page overlay and bouncy are not always positioned correctly
Attachments
Patch (1.74 KB, patch)
2012-03-26 14:32 PDT, Anders Carlsson
sam: review+
Anders Carlsson
Comment 1 2012-03-26 14:32:53 PDT
Sam Weinig
Comment 2 2012-03-26 14:37:12 PDT
Comment on attachment 133894 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=133894&action=review > Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:227 > + // Assume that we'll be successful in updating the scroll position. > + updateMainFrameScrollPosition(scrollPosition); Can you explain what happens if that assumption doesn't hold, and how we deal with it?
Anders Carlsson
Comment 3 2012-03-26 14:42:20 PDT
(In reply to comment #2) > (From update of attachment 133894 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133894&action=review > > > Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:227 > > + // Assume that we'll be successful in updating the scroll position. > > + updateMainFrameScrollPosition(scrollPosition); > > Can you explain what happens if that assumption doesn't hold, and how we deal with it? Thinking about it, I'm pretty sure that the assumption will hold so I updated the comment.
Anders Carlsson
Comment 4 2012-03-26 14:42:22 PDT
(In reply to comment #2) > (From update of attachment 133894 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133894&action=review > > > Source/WebCore/page/scrolling/ScrollingCoordinator.cpp:227 > > + // Assume that we'll be successful in updating the scroll position. > > + updateMainFrameScrollPosition(scrollPosition); > > Can you explain what happens if that assumption doesn't hold, and how we deal with it? Thinking about it, I'm pretty sure that the assumption will hold so I updated the comment.
Anders Carlsson
Comment 5 2012-03-26 14:44:09 PDT
Note You need to log in before you can comment on or make changes to this bug.