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

Issue 2072473003: Change CSS containment should invalidate layout (Closed)

Created:
4 years, 6 months ago by trchen
Modified:
4 years, 6 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-style_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

Change CSS containment should invalidate layout This CL does two things: 1. Changing CSS contain property requires a full layout. We can potentially do more fine-grained invalidation, but containment changes are expected to be rare. 2. Amend positioned descendants list update code to mirror the behavior of LayoutObject::canContainFixedPositionObjects(). BUG=619864 Committed: https://crrev.com/1201e5870ce0bcbb9e31518fcbc2ac2635d07187 Cr-Commit-Position: refs/heads/master@{#400899}

Patch Set 1 #

Total comments: 6

Patch Set 2 : revised #

Patch Set 3 : fix dcheck (I made a mistake refactoring LayoutObject::canContainFixedPositionObjects) #

Patch Set 4 : correct LayoutObject::canContainAbsolutePositionObjects #

Messages

Total messages: 38 (15 generated)
trchen
4 years, 6 months ago (2016-06-15 21:43:50 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/1
4 years, 6 months ago (2016-06-15 21:44:22 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 01:12:13 UTC) #6
chrishtr
Thanks for the quick fix. https://codereview.chromium.org/2072473003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (right): https://codereview.chromium.org/2072473003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#newcode147 third_party/WebKit/Source/core/layout/LayoutBlock.cpp:147: bool oldStyleContainsFixedPosition = oldStyle->hasTransformRelatedProperty() ...
4 years, 6 months ago (2016-06-16 04:31:06 UTC) #8
trchen
https://codereview.chromium.org/2072473003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (right): https://codereview.chromium.org/2072473003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#newcode147 third_party/WebKit/Source/core/layout/LayoutBlock.cpp:147: bool oldStyleContainsFixedPosition = oldStyle->hasTransformRelatedProperty() || oldStyle->containsPaint(); On 2016/06/16 04:31:06, ...
4 years, 6 months ago (2016-06-16 22:09:53 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/20001
4 years, 6 months ago (2016-06-16 22:11:28 UTC) #11
commit-bot: I haz the power
Dry run: 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/245665)
4 years, 6 months ago (2016-06-16 23:50:16 UTC) #13
chrishtr
lgtm
4 years, 6 months ago (2016-06-17 06:27:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/20001
4 years, 6 months ago (2016-06-17 06:27:31 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/248126)
4 years, 6 months ago (2016-06-17 07:51:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/40001
4 years, 6 months ago (2016-06-17 23:56:24 UTC) #21
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/241235)
4 years, 6 months ago (2016-06-18 00:49:13 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/60001
4 years, 6 months ago (2016-06-20 22:52:31 UTC) #25
trchen
Patch set 4 should be fully equivalent to the original. However the refactor no longer ...
4 years, 6 months ago (2016-06-20 22:55:09 UTC) #26
chrishtr
On 2016/06/20 at 22:55:09, trchen wrote: > Patch set 4 should be fully equivalent to ...
4 years, 6 months ago (2016-06-20 23:07:22 UTC) #27
trchen
On 2016/06/20 23:07:22, chrishtr wrote: > On 2016/06/20 at 22:55:09, trchen wrote: > > Patch ...
4 years, 6 months ago (2016-06-20 23:23:38 UTC) #28
chrishtr
On 2016/06/20 at 23:23:38, trchen wrote: > On 2016/06/20 23:07:22, chrishtr wrote: > > On ...
4 years, 6 months ago (2016-06-20 23:26:48 UTC) #29
trchen
On 2016/06/20 23:26:48, chrishtr wrote: > On 2016/06/20 at 23:23:38, trchen wrote: > > We ...
4 years, 6 months ago (2016-06-20 23:40:01 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/90586) linux_chromium_chromeos_rel_ng on ...
4 years, 6 months ago (2016-06-20 23:57:04 UTC) #32
chrishtr
lgtm
4 years, 6 months ago (2016-06-20 23:58:46 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2072473003/60001
4 years, 6 months ago (2016-06-21 04:44:58 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-21 05:16:18 UTC) #36
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 05:18:06 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1201e5870ce0bcbb9e31518fcbc2ac2635d07187
Cr-Commit-Position: refs/heads/master@{#400899}

Powered by Google App Engine
This is Rietveld 408576698