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

Issue 1413823005: Invalidate objects when containing block changed (Closed)

Created:
5 years, 1 month ago by Xianzhu
Modified:
5 years, 1 month ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_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

Invalidate objects when containing block changed When containing block changed, the positioning and paint invalidation container may also change. Invalidate objects when containing block changes. Also added missing logic about fixed-pos element changing containing block (when some ancestor changes transform related properties). BUG=548495 TEST=compositing/will-change/containing-block-added.html TEST=compositing/will-change/containing-block-removed.html Committed: https://crrev.com/65d58504297a8eaf8225854806e7c66bf12fdd4c Cr-Commit-Position: refs/heads/master@{#357228}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -141 lines) Patch
M third_party/WebKit/LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt View 1 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html View 1 2 3 1 chunk +5 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added-expected.html View 1 chunk +0 lines, -32 lines 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added-expected.png View 1 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added-expected.txt View 1 1 chunk +8 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/compositing/will-change/containing-block-removed.html View 2 chunks +8 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/will-change/containing-block-removed-expected.html View 1 chunk +0 lines, -31 lines 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/will-change/containing-block-removed-expected.png View 1 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/compositing/will-change/containing-block-removed-expected.txt View 1 2 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.txt View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/containing-block-position-change-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/filter-invalidation-after-display-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/fixed-and-absolute-position-scrolled-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/reflection-invalidation-after-display-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/stacking-context-lost-expected.txt View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/repaint/transform-rotate-and-remove-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer-expected.txt View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/repaint/containing-block-position-change-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win-xp/fast/repaint/containing-block-position-change-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win-xp/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 3 chunks +19 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 3 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObjectChildList.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (4 generated)
Xianzhu
5 years, 1 month ago (2015-10-30 18:20:58 UTC) #2
chrishtr
https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html File third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html (right): https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html#newcode31 third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html:31: document.getElementById("container").style.transform = 'translateZ(0)'; // willChange = "transform"; It's not ...
5 years, 1 month ago (2015-10-30 18:28:18 UTC) #3
Xianzhu
https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html File third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html (right): https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html#newcode31 third_party/WebKit/LayoutTests/compositing/will-change/containing-block-added.html:31: document.getElementById("container").style.transform = 'translateZ(0)'; // willChange = "transform"; On 2015/10/30 ...
5 years, 1 month ago (2015-10-30 19:15:28 UTC) #4
Xianzhu
https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/fast/repaint/stacking-context-lost-expected.txt File third_party/WebKit/LayoutTests/fast/repaint/stacking-context-lost-expected.txt (left): https://codereview.chromium.org/1413823005/diff/40001/third_party/WebKit/LayoutTests/fast/repaint/stacking-context-lost-expected.txt#oldcode8 third_party/WebKit/LayoutTests/fast/repaint/stacking-context-lost-expected.txt:8: "repaintRects": [ On 2015/10/30 19:15:28, Xianzhu wrote: > On ...
5 years, 1 month ago (2015-10-30 19:44:40 UTC) #5
chrishtr
https://codereview.chromium.org/1413823005/diff/60001/third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt File third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt (right): https://codereview.chromium.org/1413823005/diff/60001/third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt#newcode13 third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt:13: [8, 2000, 777, 350], Why the new invalidations on ...
5 years, 1 month ago (2015-10-30 20:45:51 UTC) #6
Xianzhu
https://codereview.chromium.org/1413823005/diff/60001/third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt File third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt (right): https://codereview.chromium.org/1413823005/diff/60001/third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt#newcode13 third_party/WebKit/LayoutTests/platform/linux/fast/repaint/invalidation-after-opacity-change-subtree-expected.txt:13: [8, 2000, 777, 350], On 2015/10/30 20:45:51, chrishtr wrote: ...
5 years, 1 month ago (2015-10-30 20:52:15 UTC) #7
chrishtr
lgtm
5 years, 1 month ago (2015-10-30 21:11:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413823005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413823005/80001
5 years, 1 month ago (2015-10-30 21:12:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/134046)
5 years, 1 month ago (2015-10-30 22:54:02 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413823005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413823005/80001
5 years, 1 month ago (2015-10-30 23:10:02 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-10-30 23:46:32 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 23:47:21 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/65d58504297a8eaf8225854806e7c66bf12fdd4c
Cr-Commit-Position: refs/heads/master@{#357228}

Powered by Google App Engine
This is Rietveld 408576698