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

Issue 1661523002: Update should paint flag when a float's composited scrolling status changes (Closed)

Created:
4 years, 10 months ago by Xianzhu
Modified:
4 years, 10 months ago
Reviewers:
chrishtr, wkorman
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update should paint flag when a float's composited scrolling status changes Normally floating objects' should paint flags are updated during layout. However, it also depends on self-painting status which can be changed during compositing update (after layout) when composited scrolling status changes. Update should paint flag when floating object's composited scrolling status changes. No need to handle change of non-floating objects' composited scrolling status affecting should paint flags of contained floating objects, because should paint flags don't cross overflow clipping boundaries. Also no need to handle the cases that have been handled by layout. BUG=420072 TEST=fast/block/float/float-change-composited-scrolling.html Committed: https://crrev.com/871b186bc143ef3082dfb80f1437c2250cca06f3 Cr-Commit-Position: refs/heads/master@{#373198}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling-expected.html View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/FloatingObjects.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 3 chunks +35 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
Xianzhu
4 years, 10 months ago (2016-02-02 18:04:09 UTC) #3
chrishtr
https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode2646 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:2646: if (ancestorBlock->hasSelfPaintingLayer() || !ancestorBlock->isOverhangingFloat(floatingObject) || ancestorBlock->createsNewFormattingContext()) { Why is ...
4 years, 10 months ago (2016-02-02 19:32:05 UTC) #4
Xianzhu
https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode2646 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:2646: if (ancestorBlock->hasSelfPaintingLayer() || !ancestorBlock->isOverhangingFloat(floatingObject) || ancestorBlock->createsNewFormattingContext()) { On 2016/02/02 ...
4 years, 10 months ago (2016-02-02 20:19:08 UTC) #5
chrishtr
On 2016/02/02 at 20:19:08, wangxianzhu wrote: > https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp > File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): > > https://codereview.chromium.org/1661523002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode2646 ...
4 years, 10 months ago (2016-02-02 20:46:32 UTC) #6
Xianzhu
On 2016/02/02 20:46:32, chrishtr wrote: > On 2016/02/02 at 20:19:08, wangxianzhu wrote: > > trchen@ ...
4 years, 10 months ago (2016-02-02 20:49:09 UTC) #7
chrishtr
https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode2647 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:2647: if (ancestorBlock->hasSelfPaintingLayer() || !ancestorBlock->isOverhangingFloat(floatingObject)) { Please paste your explanatory ...
4 years, 10 months ago (2016-02-02 20:49:40 UTC) #8
wkorman
https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html File third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html (right): https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html#newcode17 third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html:17: if (window.testRunner) I think you can just pass true ...
4 years, 10 months ago (2016-02-02 22:02:35 UTC) #10
Xianzhu
https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html File third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html (right): https://codereview.chromium.org/1661523002/diff/20001/third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html#newcode17 third_party/WebKit/LayoutTests/fast/block/float/float-change-composited-scrolling.html:17: if (window.testRunner) On 2016/02/02 22:02:35, wkorman wrote: > I ...
4 years, 10 months ago (2016-02-02 22:47:12 UTC) #11
chrishtr
lgtm
4 years, 10 months ago (2016-02-02 22:52:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1661523002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1661523002/60001
4 years, 10 months ago (2016-02-02 22:56:06 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/168139)
4 years, 10 months ago (2016-02-03 00:01:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1661523002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1661523002/80001
4 years, 10 months ago (2016-02-03 06:40:59 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-03 08:22:43 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 08:24:56 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/871b186bc143ef3082dfb80f1437c2250cca06f3
Cr-Commit-Position: refs/heads/master@{#373198}

Powered by Google App Engine
This is Rietveld 408576698