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

Issue 1222693005: Self-collapsing block gets layout set during margin collapsing (Closed)

Created:
5 years, 5 months ago by rhogan
Modified:
5 years, 5 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/heads/master
Project:
blink
Visibility:
Public.

Description

Self-collapsing block gets layout set during margin collapsing After the child's layout in layoutBlockChild() we do margin collapsing and float clearing. If either of those change the child's logical top we may mark the child for another layout and lay it out again, so we can't ASSERT that the child doesn't need layout between those two things happening. BUG=501726 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198807

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -10 lines) Patch
A LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html View 1 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing-expected.txt View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutBlockFlow.h View 1 3 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutBlockFlow.cpp View 1 4 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
rhogan
5 years, 5 months ago (2015-07-09 17:53:41 UTC) #2
mstensho (USE GERRIT)
Just a couple of notes for now. Not a complete review. I'm adding leviw to ...
5 years, 5 months ago (2015-07-09 19:21:47 UTC) #4
leviw_travelin_and_unemployed
*sigh* Our margin collapse code is teh suck. We 'predict' (re-use the old margin values) ...
5 years, 5 months ago (2015-07-09 20:33:54 UTC) #5
rhogan
On 2015/07/09 at 20:33:54, leviw wrote: > *sigh* > > Our margin collapse code is ...
5 years, 5 months ago (2015-07-13 18:34:43 UTC) #6
leviw_travelin_and_unemployed
lgtm
5 years, 5 months ago (2015-07-13 18:56:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1222693005/60001
5 years, 5 months ago (2015-07-13 18:56:40 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-13 20:30:12 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198807

Powered by Google App Engine
This is Rietveld 408576698