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

Issue 1277613004: A line that doesn't fit in a column shouldn't pull preceding floats to the next column. (Closed)

Created:
5 years, 4 months ago by mstensho (USE GERRIT)
Modified:
5 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, mstensho (USE GERRIT), pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

A line that doesn't fit in a column shouldn't pull preceding floats to the next column. Require that a line box be flush with the content edge of the block if it is to pull its parent block to the next column. Also cleaned up the surrounding code and documented it. It had a rather complex if-expression not really suitable for human consumption as it was, and adding even more to it would have been just evil. No other behavioral changes intended, apart from the actual bugfix. BUG=516296 R=jchaffraix@chromium.org,leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200269

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review. Add helper function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -4 lines) Patch
A LayoutTests/fast/multicol/line-pushed-down-by-float.html View 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/line-pushed-down-by-float-expected.html View 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutBlockFlow.cpp View 1 2 chunks +36 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
mstensho (USE GERRIT)
5 years, 4 months ago (2015-08-06 12:21:11 UTC) #2
mstensho (USE GERRIT)
jchaffraix / leviw: please take a look at my glorified one-liner.
5 years, 4 months ago (2015-08-10 12:16:58 UTC) #3
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html File LayoutTests/fast/multicol/line-pushed-down-by-float.html (right): https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html#newcode6 LayoutTests/fast/multicol/line-pushed-down-by-float.html:6: <div style="float:left; width:100%; height:7em; background:cyan;"> I'm going to ...
5 years, 4 months ago (2015-08-10 19:46:19 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html File LayoutTests/fast/multicol/line-pushed-down-by-float.html (right): https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html#newcode6 LayoutTests/fast/multicol/line-pushed-down-by-float.html:6: <div style="float:left; width:100%; height:7em; background:cyan;"> On 2015/08/10 19:46:19, leviw ...
5 years, 4 months ago (2015-08-10 20:14:45 UTC) #5
leviw_travelin_and_unemployed
On 2015/08/10 at 20:14:45, mstensho wrote: > https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html > File LayoutTests/fast/multicol/line-pushed-down-by-float.html (right): > > https://codereview.chromium.org/1277613004/diff/1/LayoutTests/fast/multicol/line-pushed-down-by-float.html#newcode6 ...
5 years, 4 months ago (2015-08-10 20:18:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1277613004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1277613004/20001
5 years, 4 months ago (2015-08-10 20:27:37 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 21:52:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200269

Powered by Google App Engine
This is Rietveld 408576698