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

Issue 2415313003: [css-grid] Computing free space on indefinite sized grids (Closed)

Created:
4 years, 2 months ago by jfernandez
Modified:
4 years, 2 months ago
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, svillar, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, jchaffraix+rendering, blink-reviews, eae+blinkwatch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Computing free space on indefinite sized grids The Grid Tracks sizing algorithm updates receives the available space to be used as space for tracks. We hold a variable to store the remaining free space for each dimension. When the grid container size is indefinite we can't compute the available free space after computing track sizes until such indefinite size is resolved. BUG=655390 Committed: https://crrev.com/02c5917e79b05910149b2e6eff680673d6e4a9b0 Cr-Commit-Position: refs/heads/master@{#426464}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed the approach, based on sergio's suggestions. #

Patch Set 3 : Added additional test cases. #

Patch Set 4 : Clearer layout test cases. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -23 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow.html View 1 2 3 10 chunks +129 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-content-alignment-overflow-expected.txt View 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 3 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
jfernandez
4 years, 2 months ago (2016-10-15 12:08:58 UTC) #3
svillar
https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode696 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:696: sizingData.freeSpace(direction) = LayoutUnit(); I disagree with this change for ...
4 years, 2 months ago (2016-10-17 08:20:33 UTC) #4
jfernandez
https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode696 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:696: sizingData.freeSpace(direction) = LayoutUnit(); On 2016/10/17 08:20:33, svillar wrote: > ...
4 years, 2 months ago (2016-10-17 08:43:54 UTC) #5
svillar
https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2415313003/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode696 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:696: sizingData.freeSpace(direction) = LayoutUnit(); On 2016/10/17 08:43:54, jfernandez wrote: > ...
4 years, 2 months ago (2016-10-17 09:13:19 UTC) #6
jfernandez
4 years, 2 months ago (2016-10-18 10:45:33 UTC) #8
svillar
Looking good but we need more test cases for this change. We need to check ...
4 years, 2 months ago (2016-10-18 14:11:39 UTC) #9
jfernandez
On 2016/10/18 14:11:39, svillar wrote: > Looking good but we need more test cases for ...
4 years, 2 months ago (2016-10-18 14:18:58 UTC) #10
jfernandez
4 years, 2 months ago (2016-10-19 09:53:02 UTC) #11
svillar
Patch lgtm. Just a suggestion for the tests. Could you add some margin-bottom to visually ...
4 years, 2 months ago (2016-10-20 08:34:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2415313003/60001
4 years, 2 months ago (2016-10-20 12:19:02 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-20 13:28:22 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:17:54 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/02c5917e79b05910149b2e6eff680673d6e4a9b0
Cr-Commit-Position: refs/heads/master@{#426464}

Powered by Google App Engine
This is Rietveld 408576698