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

Issue 2685883004: Explicitly invalidate LayoutView when overflow is recalculated. (Closed)

Created:
3 years, 10 months ago by bokan
Modified:
3 years, 10 months ago
Reviewers:
pdr.
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Explicitly invalidate LayoutView when overflow is recalculated. This bug occurs because during an animation we may change the amount of layout overflow (via FrameView::recalcOverflowAfterStyleChange). Previously, this would cause a change in scrollbar existance until r432965 made it so that the FrameView would prevent scrollbar creation earlier in cases where they're known to be unneeded. Changing scrollbar existence causes a layout so we'd implicitly invalidate and repaint. Since that change, we (correctly) don't bother doing a layout but because of that we no longer invalidate so the additionally exposed background region doesn't get painted. BUG=683814 Review-Url: https://codereview.chromium.org/2685883004 Cr-Commit-Position: refs/heads/master@{#452170} Committed: https://chromium.googlesource.com/chromium/src/+/717789e00f9ff34efe3a2ca23ebd69e802d8b6ec

Patch Set 1 #

Total comments: 2

Patch Set 2 : Conditionally invalidate based on visualViewportSuppliesScrollbars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
bokan
Hey pdr@, Does this look like the correct fix? If so, I'll add a test. ...
3 years, 10 months ago (2017-02-08 23:13:19 UTC) #3
pdr.
https://codereview.chromium.org/2685883004/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2685883004/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode818 third_party/WebKit/Source/core/frame/FrameView.cpp:818: layoutViewItem.setMayNeedPaintInvalidation(); Yeah I think this patch looks like the ...
3 years, 10 months ago (2017-02-10 22:25:33 UTC) #6
bokan
https://codereview.chromium.org/2685883004/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2685883004/diff/1/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode818 third_party/WebKit/Source/core/frame/FrameView.cpp:818: layoutViewItem.setMayNeedPaintInvalidation(); On 2017/02/10 22:25:33, pdr. wrote: > Yeah I ...
3 years, 10 months ago (2017-02-21 22:14:14 UTC) #7
bokan
The test is proving more finicky to write than I expected since it relies on ...
3 years, 10 months ago (2017-02-22 00:00:51 UTC) #8
pdr.
On 2017/02/22 at 00:00:51, bokan wrote: > The test is proving more finicky to write ...
3 years, 10 months ago (2017-02-22 18:05:31 UTC) #9
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/2685883004/20001
3 years, 10 months ago (2017-02-22 18:14:15 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/215728) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 10 months ago (2017-02-22 18:34:14 UTC) #13
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/2685883004/20001
3 years, 10 months ago (2017-02-22 18:38:53 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 19:56:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/717789e00f9ff34efe3a2ca23ebd...

Powered by Google App Engine
This is Rietveld 408576698