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

Issue 195743002: Remove out-of-date FIXME on collapsing margins (Closed)

Created:
6 years, 9 months ago by rhogan
Modified:
6 years, 9 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Visibility:
Public.

Description

Remove out-of-date FIXME on collapsing margins CSS2.1 is now clear about what to do if the collapsed margins are greater than the offset required to clear a float. "Computing the clearance of an element on which 'clear' is set is done by first determining the hypothetical position of the element's top border edge. This position is where the actual top border edge would have been if the element's 'clear' property had been 'none'. If this hypothetical position of the element's top border edge is not past the relevant floats, then clearance [..] is set to the greater of: The amount necessary to place the border edge of the block even with the bottom outer edge of the lowest float that is to be cleared. [or] The amount necessary to place the top border edge of the block at its hypothetical position." http://www.w3.org/TR/CSS2/visuren.html#clearance BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169798

Patch Set 1 #

Total comments: 1

Patch Set 2 : WIth test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
A LayoutTests/fast/block/margin-collapse/clearance-less-than-margin.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/margin-collapse/clearance-less-than-margin-expected.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
rhogan
6 years, 9 months ago (2014-03-18 18:50:55 UTC) #1
Julien - ping for review
lgtm https://codereview.chromium.org/195743002/diff/1/Source/core/rendering/RenderBlockFlow.cpp File Source/core/rendering/RenderBlockFlow.cpp (left): https://codereview.chromium.org/195743002/diff/1/Source/core/rendering/RenderBlockFlow.cpp#oldcode1303 Source/core/rendering/RenderBlockFlow.cpp:1303: // margins involved. Removing this FIXME is OK ...
6 years, 9 months ago (2014-03-19 00:56:24 UTC) #2
rhogan
On 2014/03/19 00:56:24, Julien Chaffraix - PST wrote: > lgtm > > https://codereview.chromium.org/195743002/diff/1/Source/core/rendering/RenderBlockFlow.cpp > File ...
6 years, 9 months ago (2014-03-20 19:48:01 UTC) #3
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 9 months ago (2014-03-22 12:49:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/195743002/20001
6 years, 9 months ago (2014-03-22 12:49:15 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-22 13:50:55 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-22 13:50:55 UTC) #7
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 9 months ago (2014-03-22 18:34:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/195743002/20001
6 years, 9 months ago (2014-03-22 18:34:40 UTC) #9
commit-bot: I haz the power
6 years, 9 months ago (2014-03-22 20:56:38 UTC) #10
Message was sent while issue was closed.
Change committed as 169798

Powered by Google App Engine
This is Rietveld 408576698