Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(126)

Issue 1157863014: Self-collapsing blocks shouldn't get layout bit sit when handling margins (Closed)

Created:
4 years, 10 months ago by rhogan
Modified:
4 years, 10 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 blocks shouldn't get layout bit sit when handling margins marginOffsetForSelfCollapsingBlock() was interested in any clearance a self-collapsing block has due to 'clear:' in its style. Once a block has been laid out it can't actually tell this anymore! So instead, watch for clearance happening and store it in marginInfo so that we can use it to update the block position for margin collapsing. BUG=479562 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197185

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -17 lines) Patch
A LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set.html View 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutBlockFlow.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 8 chunks +15 lines, -16 lines 1 comment Download

Messages

Total messages: 8 (3 generated)
rhogan
4 years, 10 months ago (2015-06-16 17:19:34 UTC) #2
ojan
Levi, do you think you'll have time to review this?
4 years, 10 months ago (2015-06-16 17:41:57 UTC) #4
leviw_travelin_and_unemployed
CSS makes this so complicated. I'm glad I have this margin crap relatively paged in ...
4 years, 10 months ago (2015-06-16 17:52:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157863014/60001
4 years, 10 months ago (2015-06-16 18:17:53 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2015-06-16 19:08:06 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197185

Powered by Google App Engine
This is Rietveld 408576698