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

Issue 2505253002: Set scrollbar enabled state for overflow:auto. (Closed)

Created:
4 years, 1 month ago by bokan
Modified:
4 years, 1 month ago
Reviewers:
skobes
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set scrollbar enabled state for overflow:auto. PaintLayerScrollableArea code previously assumed it needed to setEnabled only on scrollbars for overflow:scroll elements. This was because the only time we would have a disabled scrollbar was for an overflow:scroll areas without enough overflow. An overflow:auto area simply wouldn't have created the scrollbar. This changes for overlay scrollbars because we fade out the scrollbars by disabling them, causing painting code to avoid painting. BUG=636392 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/4fa58f16e52436c1b547ae6843611ec5cca0f364 Cr-Commit-Position: refs/heads/master@{#433348}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix test expectation #

Total comments: 2

Patch Set 4 : Reenabled test from previous patch #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -10 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed-expected.txt View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/scrollbars/auto-scrollbar-fades-out.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/scrollbars/auto-scrollbar-fades-out-expected.html View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 1 chunk +6 lines, -9 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (25 generated)
bokan
Sorry to flood you with scrollbar reviews, feel free to punt to someone else if ...
4 years, 1 month ago (2016-11-17 17:04:46 UTC) #13
skobes
lgtm https://codereview.chromium.org/2505253002/diff/40001/third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed-expected.txt File third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed-expected.txt (right): https://codereview.chromium.org/2505253002/diff/40001/third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed-expected.txt#newcode61 third_party/WebKit/LayoutTests/paint/invalidation/flexbox/scrollbars-changed-expected.txt:61: "reason": "full" On 2016/11/17 17:04:45, bokan wrote: > ...
4 years, 1 month ago (2016-11-17 21:18:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2505253002/80001
4 years, 1 month ago (2016-11-18 23:37:56 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-19 00:27:04 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-19 00:29:53 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4fa58f16e52436c1b547ae6843611ec5cca0f364
Cr-Commit-Position: refs/heads/master@{#433348}

Powered by Google App Engine
This is Rietveld 408576698