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

Issue 570933002: Margins should expand/shrink an element's width if no float constrains it (Closed)

Created:
6 years, 3 months ago by rhogan
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Margins should expand/shrink an element's width if no float constrains it This is a regression from https://src.chromium.org/viewvc/blink?revision=175325&view=revision. I didn't consider the case where there are floats in the same formatting context but they don't actually overlap with the element so have no effect on its width. BUG=413202 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181998

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -3 lines) Patch
A LayoutTests/fast/block/containing-block-negative-margins.html View 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/containing-block-negative-margins-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 chunk +11 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
rhogan
6 years, 3 months ago (2014-09-14 09:07:48 UTC) #2
leviw_travelin_and_unemployed
lgtm
6 years, 3 months ago (2014-09-15 18:57:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/570933002/1
6 years, 3 months ago (2014-09-15 18:58:17 UTC) #5
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 19:04:26 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 181998

Powered by Google App Engine
This is Rietveld 408576698