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

Issue 144323002: Implement justify-self handling in grid (Closed)

Created:
6 years, 11 months ago by Julien - ping for review
Modified:
6 years, 10 months ago
Reviewers:
ojan
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, eseidel, esprehn
Visibility:
Public.

Description

Implement justify-self handling in grid This is a partial but good enough support for 'justify-self'. The remaining cases (auto, baseline and stretch) require more thoughts and/or other patches. BUG=249451 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166002

Patch Set 1 #

Total comments: 7

Patch Set 2 : With a better code architecture! #

Total comments: 3

Patch Set 3 : Improved patch after Ojan's review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -6 lines) Patch
A LayoutTests/fast/css-grid-layout/justify-self-cell.html View 1 chunk +142 lines, -0 lines 0 comments Download
A LayoutTests/fast/css-grid-layout/justify-self-cell-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderGrid.h View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M Source/core/rendering/RenderGrid.cpp View 1 2 2 chunks +123 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Julien - ping for review
6 years, 11 months ago (2014-01-22 16:54:41 UTC) #1
Julien - ping for review
https://codereview.chromium.org/144323002/diff/1/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/144323002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode1145 Source/core/rendering/RenderGrid.cpp:1145: } I am not happy with this 2-pass code. ...
6 years, 11 months ago (2014-01-22 19:13:42 UTC) #2
ojan
lgtm https://codereview.chromium.org/144323002/diff/1/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/144323002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode1098 Source/core/rendering/RenderGrid.cpp:1098: ItemPosition childJustifySelf = child->style()->justifySelf(); Maybe move this and ...
6 years, 11 months ago (2014-01-22 23:43:13 UTC) #3
ojan
https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp#newcode1106 Source/core/rendering/RenderGrid.cpp:1106: LayoutUnit RenderGrid::columnPositionAlignedWithGridContainerEnd(const RenderBox* child) const Am I just misreading ...
6 years, 10 months ago (2014-01-28 21:38:05 UTC) #4
ojan
lgtm https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp#newcode1106 Source/core/rendering/RenderGrid.cpp:1106: LayoutUnit RenderGrid::columnPositionAlignedWithGridContainerEnd(const RenderBox* child) const On 2014/01/28 21:38:05, ...
6 years, 10 months ago (2014-01-28 23:13:07 UTC) #5
Julien - ping for review
https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/144323002/diff/80001/Source/core/rendering/RenderGrid.cpp#newcode1106 Source/core/rendering/RenderGrid.cpp:1106: LayoutUnit RenderGrid::columnPositionAlignedWithGridContainerEnd(const RenderBox* child) const On 2014/01/28 23:13:07, ojan ...
6 years, 10 months ago (2014-01-29 00:11:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/144323002/130001
6 years, 10 months ago (2014-01-29 01:19:03 UTC) #7
commit-bot: I haz the power
Change committed as 166002
6 years, 10 months ago (2014-01-29 06:14:02 UTC) #8
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 06:14:09 UTC) #9
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698