Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Issue 1804063002: Fix wheel scrolling over scrollbar not scrolling page. (Closed)

Created:
4 years, 9 months ago by bokan
Modified:
4 years, 9 months ago
Reviewers:
dtapuska, jbroman, tdresser
CC:
blink-reviews, chromium-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix wheel scrolling over scrollbar not scrolling page. I introduced this bug in my refactoring in r380403. The fix is to simply use the document node as the element to scroll if the hit test doesn't return a node but does hit a scrollbar. BUG=594074 Committed: https://crrev.com/2931e932cacf7c7e7ca1629971c169b5b52c18c0 Cr-Commit-Position: refs/heads/master@{#381533}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Updates from jbroman@ #

Patch Set 3 : Made test async #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar-expected.txt View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
bokan
Tim, small fix from my earlier refactorings.
4 years, 9 months ago (2016-03-15 16:14:42 UTC) #3
tdresser
LGTM
4 years, 9 months ago (2016-03-15 18:06:17 UTC) #4
dtapuska
https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode25 third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html:25: shouldBe('window.scrollY', '30'); This test assumes that scrolling occurs on ...
4 years, 9 months ago (2016-03-15 18:57:18 UTC) #6
dtapuska
On 2016/03/15 18:57:18, dtapuska wrote: > https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html > File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): > > https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode25 > ...
4 years, 9 months ago (2016-03-15 19:13:24 UTC) #7
tdresser
On 2016/03/15 19:13:24, dtapuska wrote: > On 2016/03/15 18:57:18, dtapuska wrote: > > > https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html ...
4 years, 9 months ago (2016-03-15 20:58:40 UTC) #8
dtapuska
On 2016/03/15 20:58:40, tdresser wrote: > On 2016/03/15 19:13:24, dtapuska wrote: > > On 2016/03/15 ...
4 years, 9 months ago (2016-03-15 21:00:39 UTC) #9
tdresser
On 2016/03/15 21:00:39, dtapuska wrote: > On 2016/03/15 20:58:40, tdresser wrote: > > On 2016/03/15 ...
4 years, 9 months ago (2016-03-16 13:36:30 UTC) #10
bokan
On 2016/03/16 13:36:30, tdresser wrote: > On 2016/03/15 21:00:39, dtapuska wrote: > > On 2016/03/15 ...
4 years, 9 months ago (2016-03-16 13:37:17 UTC) #11
bokan
+jbroman@ for OWNER
4 years, 9 months ago (2016-03-16 13:37:38 UTC) #13
dtapuska
On 2016/03/16 13:36:30, tdresser wrote: > On 2016/03/15 21:00:39, dtapuska wrote: > > On 2016/03/15 ...
4 years, 9 months ago (2016-03-16 13:49:30 UTC) #14
jbroman
https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode27 third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html:27: finishJSTest(); "finishJSTest()" without "jsTestIsAsync = true;" is surprising; is ...
4 years, 9 months ago (2016-03-16 15:41:00 UTC) #15
bokan
https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode27 third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html:27: finishJSTest(); On 2016/03/16 15:41:00, jbroman wrote: > "finishJSTest()" without ...
4 years, 9 months ago (2016-03-16 18:01:46 UTC) #16
jbroman
lgtm with one remaining comment https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode27 third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html:27: finishJSTest(); On 2016/03/16 at ...
4 years, 9 months ago (2016-03-16 18:05:52 UTC) #17
bokan
https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html File third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html (right): https://codereview.chromium.org/1804063002/diff/1/third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html#newcode27 third_party/WebKit/LayoutTests/fast/events/wheel-in-scrollbar.html:27: finishJSTest(); On 2016/03/16 18:05:52, jbroman wrote: > On 2016/03/16 ...
4 years, 9 months ago (2016-03-16 19:18:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804063002/40001
4 years, 9 months ago (2016-03-16 19:18:47 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-16 20:51:48 UTC) #23
commit-bot: I haz the power
4 years, 9 months ago (2016-03-16 20:55:59 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2931e932cacf7c7e7ca1629971c169b5b52c18c0
Cr-Commit-Position: refs/heads/master@{#381533}

Powered by Google App Engine
This is Rietveld 408576698