RESOLVED FIXED 132158
ScrollingCoordinator is unaware of topContentInset
https://bugs.webkit.org/show_bug.cgi?id=132158
Summary ScrollingCoordinator is unaware of topContentInset
Brent Fulgham
Reported 2014-04-24 17:29:15 PDT
The calculation of non-fast-scrollable regions does not currently take the topContentOffset into account. Consequently, the logic that decides whether to stay on the scrolling thread, or drop down to an individual page element, can make the wrong choice. This is especially true for small scrollable regions (such as <select> elements), where the topContentInset may be quite close to the size of the scrollable element itself.
Attachments
Patch (9.07 KB, patch)
2014-04-24 18:22 PDT, Brent Fulgham
no flags
Brent Fulgham
Comment 1 2014-04-24 17:30:20 PDT
Brent Fulgham
Comment 2 2014-04-24 18:22:13 PDT
Tim Horton
Comment 3 2014-04-24 18:25:13 PDT
Comment on attachment 230126 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230126&action=review > LayoutTests/platform/mac/fast/scrolling/scroll-select-bottom-test.html:52 > + //debug("Page before: " + pageScrollPositionBefore + ", select before: " + selectScrollPositionBefore); > + //debug("Page after: " + pageScrollPositionAfter + ", select after: " + selectScrollPositionAfter); ???
Brent Fulgham
Comment 4 2014-04-24 19:08:33 PDT
Comment on attachment 230126 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230126&action=review >> LayoutTests/platform/mac/fast/scrolling/scroll-select-bottom-test.html:52 >> + //debug("Page after: " + pageScrollPositionAfter + ", select after: " + selectScrollPositionAfter); > > ??? WK1 and WK2 sometimes produce different values here. Rather than baseline both, we comment these out. It's useful to uncommercial them while debugging.
Brent Fulgham
Comment 5 2014-04-24 19:09:20 PDT
(In reply to comment #4) > (From update of attachment 230126 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=230126&action=review > > >> LayoutTests/platform/mac/fast/scrolling/scroll-select-bottom-test.html:52 > >> + //debug("Page after: " + pageScrollPositionAfter + ", select after: " + selectScrollPositionAfter); > > > > ??? > > WK1 and WK2 sometimes produce different values here. Rather than baseline both, we comment these out. It's useful to uncommercial them while debugging. And by uncommercial, I of course mean uncomment them.
WebKit Commit Bot
Comment 6 2014-04-25 08:28:23 PDT
Comment on attachment 230126 [details] Patch Clearing flags on attachment: 230126 Committed r167807: <http://trac.webkit.org/changeset/167807>
WebKit Commit Bot
Comment 7 2014-04-25 08:28:27 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.