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

Issue 1323313004: Don't re-implement containing block logic when marking container chains for layout (Closed)

Created:
5 years, 3 months ago by rhogan
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't re-implement containing block logic when marking container chains for layout When marking the container chain of an abspos object for layout we don't need to worry about rel-pos inlines in the container chain ourselves - containingBlock() does this for us. Since there is no situation in which we would want to mark anything between an abspos object and its containing block with posChildNeedsLayout() just use containingBlock() directly when climbing up the tree. This is a refactoring supported by two tests that capture layout situations where an abspos object has a container chain containing relpos inlines. BUG=517369 Committed: https://crrev.com/440dd29c10e04558cd63853f4e9af2c8d182accc Cr-Commit-Position: refs/heads/master@{#384247}

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Patch Set 5 : Updated #

Patch Set 6 : Updated #

Messages

Total messages: 11 (4 generated)
rhogan
4 years, 9 months ago (2016-03-22 19:06:10 UTC) #2
mstensho (USE GERRIT)
Need a blank line before the BUG= line. BTW: That bug was marked as fixed ...
4 years, 8 months ago (2016-03-29 10:56:29 UTC) #3
rhogan
On 2016/03/29 at 10:56:29, mstensho wrote: > Need a blank line before the BUG= line. ...
4 years, 8 months ago (2016-03-30 17:46:31 UTC) #5
mstensho (USE GERRIT)
lgtm
4 years, 8 months ago (2016-03-31 11:13:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323313004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323313004/100001
4 years, 8 months ago (2016-03-31 11:13:15 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-03-31 11:56:14 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 11:57:19 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/440dd29c10e04558cd63853f4e9af2c8d182accc
Cr-Commit-Position: refs/heads/master@{#384247}

Powered by Google App Engine
This is Rietveld 408576698