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

Issue 613273002: [CSS Grid Layout] Stretch value for align and justify properties. (Closed)

Created:
6 years, 2 months ago by jfernandez
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, jfernandez, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, Manuel Rego, rune+blink, svillar, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[CSS Grid Layout] Stretch value for align and justify properties. If the ‘width’ or ‘height’ (as appropriate) of the alignment subject is ‘auto’, its used value is the length necessary to make the alignment subject’s outer size as close to the size of the alignment container as possible, while still respecting the constraints imposed by ‘min/max-width/height’. Otherwise, this is equivalent to ‘start’. BUG=249451, 376823 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184782

Patch Set 1 : #

Patch Set 2 : Added specific layout test. #

Total comments: 9

Patch Set 3 : min/max constrain logic. #

Total comments: 12

Patch Set 4 : Applied suggested changes. #

Patch Set 5 : resolveAlignment and resolveJustification now defined in RenderStyle. #

Total comments: 12

Patch Set 6 : Applied suggested changes. #

Patch Set 7 : Patch rebased. #

Patch Set 8 : Fixed some layout tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -43 lines) Patch
M LayoutTests/fast/css-grid-layout/grid-align.html View 8 chunks +8 lines, -10 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html View 1 2 1 chunk +241 lines, -0 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/grid-align-justify-stretch-expected.txt View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/justify-self-cell.html View 5 chunks +5 lines, -6 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlexibleBox.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderGrid.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderGrid.cpp View 1 2 3 4 5 6 7 6 chunks +83 lines, -15 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.cpp View 1 2 3 4 5 6 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 36 (15 generated)
jfernandez
6 years, 2 months ago (2014-09-30 15:38:09 UTC) #4
jfernandez
Added specific layout test.
6 years, 2 months ago (2014-09-30 22:22:45 UTC) #5
Julien - ping for review
https://codereview.chromium.org/613273002/diff/80001/LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html File LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html (right): https://codereview.chromium.org/613273002/diff/80001/LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html#newcode18 LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html:18: .cell { Let's try better names: cell -> widthAndHeightSet ...
6 years, 2 months ago (2014-10-08 15:21:47 UTC) #8
jfernandez
Applied suggested changes. https://codereview.chromium.org/613273002/diff/80001/LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html File LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html (right): https://codereview.chromium.org/613273002/diff/80001/LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html#newcode18 LayoutTests/fast/css-grid-layout/grid-align-justify-stretch.html:18: .cell { On 2014/10/08 15:21:47, Julien ...
6 years, 2 months ago (2014-10-12 22:40:27 UTC) #9
Julien - ping for review
https://codereview.chromium.org/613273002/diff/80001/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/613273002/diff/80001/Source/core/rendering/RenderGrid.cpp#newcode619 Source/core/rendering/RenderGrid.cpp:619: child.clearOverrideLogicalContentHeight(); On 2014/10/12 22:40:27, jfernandez wrote: > On 2014/10/08 ...
6 years, 2 months ago (2014-10-21 00:43:12 UTC) #10
jfernandez
Applied suggested changes. https://codereview.chromium.org/613273002/diff/80001/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/613273002/diff/80001/Source/core/rendering/RenderGrid.cpp#newcode619 Source/core/rendering/RenderGrid.cpp:619: child.clearOverrideLogicalContentHeight(); On 2014/10/21 00:43:12, Julien Chaffraix ...
6 years, 2 months ago (2014-10-22 09:31:37 UTC) #11
jfernandez
Applied suggested changes.
6 years, 2 months ago (2014-10-22 09:31:38 UTC) #12
jfernandez
Patch Set5 is a rebase in order to use the resolveAlignment defined now in the ...
6 years, 2 months ago (2014-10-22 16:34:27 UTC) #13
jfernandez
I think I've implemented all the suggested changes and it'd be good to land this ...
6 years, 1 month ago (2014-10-29 13:47:34 UTC) #14
Julien - ping for review
lgtm https://codereview.chromium.org/613273002/diff/150001/LayoutTests/fast/css-grid-layout/grid-align.html File LayoutTests/fast/css-grid-layout/grid-align.html (right): https://codereview.chromium.org/613273002/diff/150001/LayoutTests/fast/css-grid-layout/grid-align.html#newcode115 LayoutTests/fast/css-grid-layout/grid-align.html:115: <div class="alignSelfAuto firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="200"></div> Why ...
6 years, 1 month ago (2014-10-31 17:17:13 UTC) #15
jfernandez
https://codereview.chromium.org/613273002/diff/150001/LayoutTests/fast/css-grid-layout/grid-align.html File LayoutTests/fast/css-grid-layout/grid-align.html (right): https://codereview.chromium.org/613273002/diff/150001/LayoutTests/fast/css-grid-layout/grid-align.html#newcode115 LayoutTests/fast/css-grid-layout/grid-align.html:115: <div class="alignSelfAuto firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="200"></div> On 2014/10/31 ...
6 years, 1 month ago (2014-10-31 22:55:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613273002/170001
6 years, 1 month ago (2014-11-01 00:34:45 UTC) #18
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderGrid.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 1 month ago (2014-11-01 00:34:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613273002/190001
6 years, 1 month ago (2014-11-01 00:47:44 UTC) #22
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderGrid.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 1 month ago (2014-11-01 00:48:08 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613273002/210001
6 years, 1 month ago (2014-11-01 01:09:13 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/31957)
6 years, 1 month ago (2014-11-01 02:17:25 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613273002/210001
6 years, 1 month ago (2014-11-01 18:30:56 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/31990)
6 years, 1 month ago (2014-11-01 19:29:50 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/613273002/230001
6 years, 1 month ago (2014-11-02 22:36:14 UTC) #35
commit-bot: I haz the power
6 years, 1 month ago (2014-11-03 00:19:19 UTC) #36
Message was sent while issue was closed.
Committed patchset #8 (id:230001) as 184782

Powered by Google App Engine
This is Rietveld 408576698