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

Issue 855413002: [New Multicolumn] Support for block direction margins on spanners. (Closed)

Created:
5 years, 11 months ago by mstensho (USE GERRIT)
Modified:
5 years, 11 months ago
CC:
mstensho (USE GERRIT), blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Support for block direction margins on spanners. Block direction margins need to be copied from the column-span:all element to its placeholder, since it's the placeholder that gets laid out and positioned among other placeholders and column sets within the multicol container. Also prevent margin-collapsing through column sets, since that suddenly matters. Note that inline direction margins were already working. Some of the tests in this CL also test those. BUG=347325 R=jchaffraix@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188696

Patch Set 1 #

Total comments: 7

Patch Set 2 : code review #

Total comments: 2

Patch Set 3 : code review - add descriptions to tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/adjacent-spanners-with-margin.html View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/adjacent-spanners-with-margin-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/change-spanner-margins.html View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/change-spanner-margins-expected.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/empty-block-between-spanners-with-margins.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/empty-block-between-spanners-with-margins-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/empty-spanner-between-spanners-with-margins.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/empty-spanner-between-spanners-with-margins-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/percent-margins.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/percent-margins-expected.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/simple-margins.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/simple-margins-expected.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/spanner-with-margin.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/spanner-with-margin-expected.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/spanner-with-margins-between-margins.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/spanner-with-margins-between-margins-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/trailing-margin-around-spanner.html View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/span/trailing-margin-around-spanner-expected.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A LayoutTests/fast/multicol/span/trailing-margin-before-spanner.html View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/span/trailing-margin-before-spanner-expected.html View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSpannerPlaceholder.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp View 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
mstensho (USE GERRIT)
5 years, 11 months ago (2015-01-20 08:29:41 UTC) #1
Julien - ping for review
https://codereview.chromium.org/855413002/diff/1/LayoutTests/fast/multicol/span/change-spanner-margins.html File LayoutTests/fast/multicol/span/change-spanner-margins.html (right): https://codereview.chromium.org/855413002/diff/1/LayoutTests/fast/multicol/span/change-spanner-margins.html#newcode2 LayoutTests/fast/multicol/span/change-spanner-margins.html:2: <p>Below there should be a blue square with a ...
5 years, 11 months ago (2015-01-20 08:55:15 UTC) #2
mstensho (USE GERRIT)
https://codereview.chromium.org/855413002/diff/1/LayoutTests/fast/multicol/span/change-spanner-margins.html File LayoutTests/fast/multicol/span/change-spanner-margins.html (right): https://codereview.chromium.org/855413002/diff/1/LayoutTests/fast/multicol/span/change-spanner-margins.html#newcode2 LayoutTests/fast/multicol/span/change-spanner-margins.html:2: <p>Below there should be a blue square with a ...
5 years, 11 months ago (2015-01-20 09:23:30 UTC) #3
Julien - ping for review
lgtm https://codereview.chromium.org/855413002/diff/1/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp File Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp (right): https://codereview.chromium.org/855413002/diff/1/Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp#newcode50 Source/core/rendering/RenderMultiColumnSpannerPlaceholder.cpp:50: setStyle(newStyle); On 2015/01/20 09:23:30, mstensho wrote: > On ...
5 years, 11 months ago (2015-01-20 16:52:46 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/855413002/diff/20001/LayoutTests/fast/multicol/span/adjacent-spanners-with-margin.html File LayoutTests/fast/multicol/span/adjacent-spanners-with-margin.html (right): https://codereview.chromium.org/855413002/diff/20001/LayoutTests/fast/multicol/span/adjacent-spanners-with-margin.html#newcode2 LayoutTests/fast/multicol/span/adjacent-spanners-with-margin.html:2: <p>There should be a blue square below.</p> On 2015/01/20 ...
5 years, 11 months ago (2015-01-20 17:09:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/855413002/40001
5 years, 11 months ago (2015-01-20 17:10:38 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/46980)
5 years, 11 months ago (2015-01-20 18:44:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/855413002/40001
5 years, 11 months ago (2015-01-20 19:26:05 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2015-01-20 21:11:36 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188696

Powered by Google App Engine
This is Rietveld 408576698