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

Issue 2501833002: Fix bug of animated table col/section/row background (Closed)

Created:
4 years, 1 month ago by Xianzhu
Modified:
4 years, 1 month ago
Reviewers:
chrishtr, wkorman
CC:
chromium-reviews, shans, rjwright, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-animation_chromium.org, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-paint_chromium.org, dshwang, jchaffraix+rendering, darktears, blink-reviews, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix bug of animated table col/section/row background Was to create a patch to move the background changed flag into LayoutObject as preparation for cleanup/optimization of paint invalidation of local attachment backgrounds, but found the bug which needs the background flag to fix. Besides the background changed flag change, also move handling of mayNeedPaintInvalidationAnimatedBackground and delayed invalidation into LayoutBox::ensureIsReadyForPaintInvalidation(), and TablePaintInvalidator call ensureIsReadyForPaintInvalidation() for col/section/row before checking their background changed flags. BUG=665238 TEST=paint/invalidation/table/animated-row-background.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/ffeecd35f06da8881d403717e84e561b74acd87b Cr-Commit-Position: refs/heads/master@{#432380}

Patch Set 1 #

Total comments: 4

Patch Set 2 : - #

Patch Set 3 : - #

Messages

Total messages: 34 (18 generated)
Xianzhu
@wkorman this happens to be an example of calling ensureIsReadyForPaintInvalidation() before walking into the tree.
4 years, 1 month ago (2016-11-15 03:05:20 UTC) #5
Xianzhu
I'm thinking of how animated background of LayoutInline is handled. Looking into if we should ...
4 years, 1 month ago (2016-11-15 03:12:06 UTC) #6
Xianzhu
On 2016/11/15 03:12:06, Xianzhu wrote: > I'm thinking of how animated background of LayoutInline is ...
4 years, 1 month ago (2016-11-15 03:18:20 UTC) #7
wkorman
lgtm https://codereview.chromium.org/2501833002/diff/1/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html File third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html (right): https://codereview.chromium.org/2501833002/diff/1/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html#newcode24 third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html:24: console.log("onload"); rm https://codereview.chromium.org/2501833002/diff/1/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html#newcode26 third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html:26: image.src="../../../fast/backgrounds/resources/red-green-animated.gif"; Why does the ...
4 years, 1 month ago (2016-11-15 18:45:11 UTC) #10
Xianzhu
https://codereview.chromium.org/2501833002/diff/1/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html File third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html (right): https://codereview.chromium.org/2501833002/diff/1/third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html#newcode24 third_party/WebKit/LayoutTests/paint/invalidation/table/animated-row-background.html:24: console.log("onload"); On 2016/11/15 18:45:11, wkorman wrote: > rm Done. ...
4 years, 1 month ago (2016-11-15 18:52:29 UTC) #11
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/2501833002/10001
4 years, 1 month ago (2016-11-15 18:56:10 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/337761)
4 years, 1 month ago (2016-11-15 20:38:32 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/2501833002/30001
4 years, 1 month ago (2016-11-15 20:53:04 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/260993)
4 years, 1 month ago (2016-11-15 21:13:41 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/2501833002/30001
4 years, 1 month ago (2016-11-15 22:00:45 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/261164)
4 years, 1 month ago (2016-11-15 22:27:16 UTC) #25
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/2501833002/30001
4 years, 1 month ago (2016-11-15 22:33:38 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/261233)
4 years, 1 month ago (2016-11-15 23:03:25 UTC) #29
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/2501833002/30001
4 years, 1 month ago (2016-11-16 03:17:37 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:30001)
4 years, 1 month ago (2016-11-16 06:16:57 UTC) #32
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 06:18:58 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ffeecd35f06da8881d403717e84e561b74acd87b
Cr-Commit-Position: refs/heads/master@{#432380}

Powered by Google App Engine
This is Rietveld 408576698