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

Issue 103583007: Ensure that if FrameView::isScrollable() is false, the assoc WebLayer is, too. (Closed)

Created:
7 years ago by Ian Vollick
Modified:
6 years, 11 months ago
Reviewers:
jamesr, sadrul, shawnsingh
CC:
blink-reviews, blink-layers+watch_chromium.org, kenneth.christiansen
Visibility:
Public.

Description

Ensure that if FrameView::isScrollable() is false, the assoc WebLayer is, too. Currently, we ignore main thread scrolling reasons when FrameView::isScrollable() returns false. Unfortunately, this can be the case even if the main frame would indeed respond to scrolls on the impl thread. This can happen when the main frame is overflow: hidden. This should never be. This CL builds on the existing machinery in ScrollingCoordinator to detect when the main frame's scrollability is dirty to ensure that its associated WebLayer's scrollability is correct. R=shawnsingh@chromium.org BUG=328672 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164629

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -12 lines) Patch
M LayoutTests/compositing/overflow/ignore-main-thread-scroll-reasons-when-main-frame-not-scrollable.html View 1 3 chunks +18 lines, -4 lines 0 comments Download
M LayoutTests/compositing/overflow/ignore-main-thread-scroll-reasons-when-main-frame-not-scrollable-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 chunks +16 lines, -4 lines 0 comments Download
M Source/web/tests/ScrollingCoordinatorChromiumTest.cpp View 1 2 3 4 2 chunks +21 lines, -1 line 0 comments Download
A + Source/web/tests/data/body-overflow-visible.html View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ian Vollick
PTAL
7 years ago (2013-12-17 03:35:54 UTC) #1
shawnsingh
On 2013/12/17 03:35:54, Ian Vollick wrote: > PTAL I like the code, but I'm still ...
7 years ago (2013-12-17 09:04:47 UTC) #2
shawnsingh
oh - previous comment + this comment is my first pass on reviewing https://codereview.chromium.org/103583007/diff/1/Source/core/page/scrolling/ScrollingCoordinator.cpp File ...
7 years ago (2013-12-17 09:05:11 UTC) #3
Ian Vollick
On 2013/12/17 09:04:47, shawnsingh wrote: > On 2013/12/17 03:35:54, Ian Vollick wrote: > > PTAL ...
7 years ago (2013-12-17 15:39:50 UTC) #4
shawnsingh
OK thanks for the explanation =) > The only problem, currently, is that occasionally, the ...
7 years ago (2013-12-17 18:49:05 UTC) #5
Ian Vollick
> Why would we not just set WebLayer::setScrollable(false) correctly, instead? I was worried about other ...
7 years ago (2013-12-18 21:09:04 UTC) #6
shawnsingh
LGTM
7 years ago (2013-12-18 23:43:35 UTC) #7
Ian Vollick
+jamesr for Source/web/tests
7 years ago (2013-12-19 17:07:17 UTC) #8
jamesr
Can we move the test file to live next to ScrollingCoordinator.cpp? OWNERS for a piece ...
7 years ago (2013-12-19 22:02:33 UTC) #9
Ian Vollick
On 2013/12/19 22:02:33, jamesr wrote: > Can we move the test file to live next ...
7 years ago (2013-12-21 03:00:42 UTC) #10
Ian Vollick
On 2013/12/21 03:00:42, Ian Vollick wrote: > On 2013/12/19 22:02:33, jamesr wrote: > > Can ...
7 years ago (2013-12-21 05:07:22 UTC) #11
Ian Vollick
On 2013/12/21 05:07:22, Ian Vollick wrote: > On 2013/12/21 03:00:42, Ian Vollick wrote: > > ...
6 years, 11 months ago (2014-01-06 19:59:04 UTC) #12
jamesr
Ah, the issue is ScrollingCoordinatorTest.cpp isn't actually a unit test but an integration test that ...
6 years, 11 months ago (2014-01-06 23:46:01 UTC) #13
Ian Vollick
On 2014/01/06 23:46:01, jamesr wrote: > Ah, the issue is ScrollingCoordinatorTest.cpp isn't actually a unit ...
6 years, 11 months ago (2014-01-07 19:20:32 UTC) #14
jamesr
lgtm
6 years, 11 months ago (2014-01-07 21:01:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/103583007/190001
6 years, 11 months ago (2014-01-07 21:17:16 UTC) #16
commit-bot: I haz the power
Change committed as 164629
6 years, 11 months ago (2014-01-07 23:31:02 UTC) #17
Dirk Pranke
6 years, 11 months ago (2014-01-08 02:55:23 UTC) #18
Message was sent while issue was closed.
It looks like this change broke a couple of layout tests:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40...

More importantly, we have a vague hope that it also broke some android java unit
tests:

http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg...

I'm going to try and speculatively roll it out to see if the Android bot greens
up.

Powered by Google App Engine
This is Rietveld 408576698