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

Issue 1462913002: A line that ends up naturally in the next column may need to propagate a strut. (Closed)

Created:
5 years, 1 month ago by mstensho (USE GERRIT)
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, mstensho (USE GERRIT), pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

A line that ends up naturally in the next column may need to propagate a strut. Even if the line itself didn't need a strut, we may have to calculate and propagate one to the block, or we risk violating orphan requirements or breaking in the middle of the top border, padding or (in case it's a float) margin. R=leviw@chromium.org Committed: https://crrev.com/a293493a93e9718f1a1f40208cca610512d0962d Cr-Commit-Position: refs/heads/master@{#360798}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Prepositionize responsibly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-below-next-column-top.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-below-next-column-top-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-block-with-padding-expected.txt View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-below-next-column-top-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/first-line-in-float-with-margin-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/orphaned-line-at-exact-top-of-column-expected.txt View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 4 chunks +31 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
mstensho (USE GERRIT)
5 years, 1 month ago (2015-11-19 16:14:15 UTC) #1
leviw_travelin_and_unemployed
LGTM. https://codereview.chromium.org/1462913002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1462913002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode769 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:769: paginationStrut += blockFlow.marginBefore(); // Floats' margins do not ...
5 years, 1 month ago (2015-11-19 20:47:01 UTC) #2
mstensho (USE GERRIT)
https://codereview.chromium.org/1462913002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1462913002/diff/1/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode769 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:769: paginationStrut += blockFlow.marginBefore(); // Floats' margins do not collapse ...
5 years, 1 month ago (2015-11-20 09:49:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1462913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1462913002/20001
5 years, 1 month ago (2015-11-20 09:50:09 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-20 10:58:24 UTC) #7
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 10:59:12 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a293493a93e9718f1a1f40208cca610512d0962d
Cr-Commit-Position: refs/heads/master@{#360798}

Powered by Google App Engine
This is Rietveld 408576698