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 240253007: Don't always repaint on zIndex change (Closed)

Created:
6 years, 8 months ago by Xianzhu
Modified:
6 years, 8 months ago
Reviewers:
eseidel, esprehn, ojan
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink, Ian Vollick, Julien - ping for review
Visibility:
Public.

Description

Don't always repaint on zIndex change If zIndex of a composited layer changes and there is no other conditions triggering repaint, we should not repaint the layer. Now treat zIndex change like opacity change about repainting. BUG=364636, 365865 TEST=reuse existing compositing/repaint/should-not-repaint-composited-descendants.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171989 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172393

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Rebase on https://codereview.chromium.org/236203020/; Add FIXME #

Patch Set 4 : Rebase again #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase again #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -389 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M LayoutTests/compositing/repaint/should-not-repaint-composited-descendants-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
D LayoutTests/platform/linux/compositing/repaint/should-not-repaint-composited-descendants-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -187 lines 0 comments Download
D LayoutTests/platform/win-xp/compositing/repaint/should-not-repaint-composited-descendants-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -187 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Xianzhu
6 years, 8 months ago (2014-04-17 20:15:48 UTC) #1
eseidel
6 years, 8 months ago (2014-04-17 22:16:37 UTC) #2
Xianzhu
I'm not sure if this is correct way to add new types of context sensitive ...
6 years, 8 months ago (2014-04-17 22:38:56 UTC) #3
Xianzhu
On 2014/04/17 22:38:56, Xianzhu wrote: > I'm not sure if this is correct way to ...
6 years, 8 months ago (2014-04-17 23:27:09 UTC) #4
ojan
lgtm https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp File Source/core/rendering/style/RenderStyle.cpp (right): https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp#newcode603 Source/core/rendering/style/RenderStyle.cpp:603: if (position() != StaticPosition) { This isn't the ...
6 years, 8 months ago (2014-04-18 01:46:22 UTC) #5
ojan
On 2014/04/17 22:38:56, Xianzhu wrote: > I'm not sure if this is correct way to ...
6 years, 8 months ago (2014-04-18 01:57:31 UTC) #6
Xianzhu
https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp File Source/core/rendering/style/RenderStyle.cpp (right): https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp#newcode603 Source/core/rendering/style/RenderStyle.cpp:603: if (position() != StaticPosition) { On 2014/04/18 01:46:23, ojan ...
6 years, 8 months ago (2014-04-18 16:05:40 UTC) #7
Xianzhu
On 2014/04/18 01:57:31, ojan wrote: > On 2014/04/17 22:38:56, Xianzhu wrote: > > I'm not ...
6 years, 8 months ago (2014-04-18 16:13:25 UTC) #8
ojan
lgtm https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp File Source/core/rendering/style/RenderStyle.cpp (right): https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp#newcode603 Source/core/rendering/style/RenderStyle.cpp:603: if (position() != StaticPosition) { On 2014/04/18 16:05:41, ...
6 years, 8 months ago (2014-04-18 17:20:03 UTC) #9
Xianzhu
On 2014/04/18 17:20:03, ojan wrote: > lgtm > > https://codereview.chromium.org/240253007/diff/20001/Source/core/rendering/style/RenderStyle.cpp > File Source/core/rendering/style/RenderStyle.cpp (right): > ...
6 years, 8 months ago (2014-04-18 17:28:19 UTC) #10
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 8 months ago (2014-04-18 23:18:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/240253007/60001
6 years, 8 months ago (2014-04-18 23:18:48 UTC) #12
commit-bot: I haz the power
Change committed as 171989
6 years, 8 months ago (2014-04-19 00:27:34 UTC) #13
aboxhall
A revert of this CL has been created in https://codereview.chromium.org/247293006/ by aboxhall@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-22 20:14:08 UTC) #14
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 8 months ago (2014-04-23 15:54:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/240253007/100001
6 years, 8 months ago (2014-04-23 15:54:42 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 15:54:59 UTC) #17
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-23 15:54:59 UTC) #18
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 8 months ago (2014-04-23 16:01:35 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/240253007/100002
6 years, 8 months ago (2014-04-23 16:01:43 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 17:14:47 UTC) #21
Message was sent while issue was closed.
Change committed as 172393

Powered by Google App Engine
This is Rietveld 408576698