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

Issue 2437303002: Fix unscrollable scrollers after closing a <dialog>. (Closed)

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

Description

Fix unscrollable scrollers after closing a <dialog>. Inertness of a scroller can change without causing it to be laid out, if a dialog is added or removed from Document::m_topLayerElements. Checking inertness in PLSA::updateScrollableAreaSet led to stale compositing state. This patch updates PLSA to ignore inertness. This means scrollers will remain in FrameView::m_scrollableAreas even when covered by a dialog. That should be ok, since the ::backdrop element prevents them from actually receiving input. BUG=633520 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/3f34d9380173cbb2b36d76a859a477472e80ae61 Cr-Commit-Position: refs/heads/master@{#426975}

Patch Set 1 #

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/dialog/scrollable-after-close.html View 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/dialog/scrollable-after-close-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (21 generated)
skobes
4 years, 2 months ago (2016-10-21 05:18:23 UTC) #17
szager1
lgtm, although I think it would be cleaner to do this: ComputedStyle.cpp: bool visibleToHitTesting() const ...
4 years, 2 months ago (2016-10-22 00:14:10 UTC) #20
skobes
On 2016/10/22 00:14:10, szager1 wrote: > lgtm, although I think it would be cleaner to ...
4 years, 2 months ago (2016-10-22 01:52:08 UTC) #21
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/2437303002/60001
4 years, 2 months ago (2016-10-22 01:52:45 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 2 months ago (2016-10-22 05:02:58 UTC) #25
commit-bot: I haz the power
4 years, 2 months ago (2016-10-22 05:04:55 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3f34d9380173cbb2b36d76a859a477472e80ae61
Cr-Commit-Position: refs/heads/master@{#426975}

Powered by Google App Engine
This is Rietveld 408576698