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

Issue 2337573003: [css-grid] Fix intrinsic size computation with flexible sized tracks (Closed)

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

Description

[css-grid] Fix intrinsic size computation with flexible sized tracks This is fixing a regression added in crrev.com/1317643005. When computing the min content size of a grid container (min preferred logical width) we should not take into account the fr tracks. As stated in the early versions of the spec that size is the sum of the tracks' base sizes before running the maximize tracks step. That regression was causing sizing issues in grids with fr tracks both when under min|max-content constrains and also when used as grid items (in nested grids). BUG=578787, 619567 Committed: https://crrev.com/ac2a89c4ede377100fd06d965234420217875197 Cr-Commit-Position: refs/heads/master@{#418212}

Patch Set 1 #

Patch Set 2 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -13 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/flex-and-intrinsic-sizes.html View 1 3 chunks +25 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/flex-and-intrinsic-sizes-expected.txt View 1 1 chunk +10 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
svillar
Sending out for review
4 years, 3 months ago (2016-09-12 20:28:11 UTC) #2
Manuel Rego
I guess the related text in the current spec is in the following sections: 12.6) ...
4 years, 3 months ago (2016-09-12 21:16:48 UTC) #3
Manuel Rego
The patch LGTM. Nice catch! I'm wondering if it'd be nice to add some more ...
4 years, 3 months ago (2016-09-12 21:18:34 UTC) #4
svillar
On 2016/09/12 21:18:34, Manuel Rego wrote: > The patch LGTM. Nice catch! > > I'm ...
4 years, 3 months ago (2016-09-13 07:37:25 UTC) #5
Manuel Rego
On 2016/09/13 07:37:25, svillar wrote: > On 2016/09/12 21:18:34, Manuel Rego wrote: > > I'm ...
4 years, 3 months ago (2016-09-13 07:41:58 UTC) #6
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/2337573003/20001
4 years, 3 months ago (2016-09-13 08:50:40 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-13 10:35:52 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ac2a89c4ede377100fd06d965234420217875197 Cr-Commit-Position: refs/heads/master@{#418212}
4 years, 3 months ago (2016-09-13 10:37:26 UTC) #12
eae
4 years, 3 months ago (2016-09-13 11:02:37 UTC) #13
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698