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

Issue 1220043002: [CSS Grid Layout] Removing Content Alignment logic from track sizing alg (Closed)

Created:
5 years, 5 months ago by jfernandez
Modified:
5 years, 5 months ago
CC:
blink-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, svillar, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[CSS Grid Layout] Removing Content Alignment logic from track sizing alg We had implemented track stretching inside the track sizing algorithm, which could interfere in some cases with sizing phase. Specs states that any alignment logic must be run after the track sizing algorithm is completed. This patch also adds a validity indicator for the cached tracks positions, since some content distribution values may have changed tracks sizes, hence their positions. BUG=249451, 376823 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198496

Patch Set 1 #

Total comments: 32

Patch Set 2 : Applied some of the suggested changes. #

Patch Set 3 : Applied additional suggested changes. #

Total comments: 8

Patch Set 4 : Applied new suggested changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -145 lines) Patch
M Source/core/layout/LayoutGrid.h View 1 2 3 3 chunks +8 lines, -5 lines 0 comments Download
M Source/core/layout/LayoutGrid.cpp View 1 2 3 11 chunks +143 lines, -140 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
svillar
https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode130 Source/core/layout/LayoutGrid.cpp:130: LayoutUnit distributionOffset; missing "m_" https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode267 Source/core/layout/LayoutGrid.cpp:267: rowTracksPositionsCacheIsValid = isValid; ...
5 years, 5 months ago (2015-07-01 16:22:55 UTC) #2
jfernandez
Thanks for the detailed review. See my replies below. https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode130 Source/core/layout/LayoutGrid.cpp:130: ...
5 years, 5 months ago (2015-07-02 10:04:22 UTC) #3
svillar
https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode267 Source/core/layout/LayoutGrid.cpp:267: rowTracksPositionsCacheIsValid = isValid; You didn't understand me, I was ...
5 years, 5 months ago (2015-07-02 11:19:28 UTC) #4
jfernandez
https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode267 Source/core/layout/LayoutGrid.cpp:267: rowTracksPositionsCacheIsValid = isValid; On 2015/07/02 11:19:28, svillar wrote: > ...
5 years, 5 months ago (2015-07-02 13:48:52 UTC) #5
jfernandez
Applied some additional changes, as we discussed.
5 years, 5 months ago (2015-07-07 16:05:28 UTC) #6
svillar
Forgot to submit a couple of drafts although I've already talked to jfernandez about them ...
5 years, 5 months ago (2015-07-07 18:32:55 UTC) #7
jfernandez
https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/1/Source/core/layout/LayoutGrid.cpp#newcode130 Source/core/layout/LayoutGrid.cpp:130: LayoutUnit distributionOffset; On 2015/07/07 18:32:54, svillar wrote: > On ...
5 years, 5 months ago (2015-07-07 21:18:35 UTC) #8
svillar
lgtm Please consider the changes I suggest before landing. https://codereview.chromium.org/1220043002/diff/40001/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/40001/Source/core/layout/LayoutGrid.cpp#newcode1435 Source/core/layout/LayoutGrid.cpp:1435: ...
5 years, 5 months ago (2015-07-08 07:14:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220043002/60001
5 years, 5 months ago (2015-07-08 11:14:00 UTC) #12
jfernandez
Truing the CQ after applying the final suggested changes. https://codereview.chromium.org/1220043002/diff/40001/Source/core/layout/LayoutGrid.cpp File Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/1220043002/diff/40001/Source/core/layout/LayoutGrid.cpp#newcode1435 Source/core/layout/LayoutGrid.cpp:1435: ...
5 years, 5 months ago (2015-07-08 11:16:00 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 12:22:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198496

Powered by Google App Engine
This is Rietveld 408576698