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

Issue 2166393002: [css-grid] grid-auto-flow|row should take a <track-size>+ (Closed)

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

Description

[css-grid] grid-auto-flow|row should take a <track-size>+ Both properties were traditionally accepting just one <track-size> but a recent change in the spec allows authors to pass a non-empty list of track sizes. The first implicit track will use the first track size the second implicit track will use the second track size and so on. For implicit tracks before the explicit grid we need to transpose the order, i.e, the first implicit track before the explicit grid will take the last track size. Updated parsing, styling and track size resolution to support a list of track sizes instead of just one. The grid shorthand was also updated as it can set the value of the two grid-auto-* properties. BUG=618970 Committed: https://crrev.com/ef8ba7e30cc8392bb48ad021e59d3aa496c930f1 Cr-Commit-Position: refs/heads/master@{#407361}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Patch for landing #

Patch Set 3 : Patch for landing v2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -93 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html View 1 4 chunks +42 lines, -53 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set-expected.txt View 2 chunks +24 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-shorthand-get-set-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSProperties.in View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 2 chunks +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 2 7 chunks +19 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderConverter.cpp View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleGridData.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
svillar
Sending out for review
4 years, 5 months ago (2016-07-21 16:07:42 UTC) #2
Manuel Rego
Great with this changes we're getting very close to the last spec. Non-owner LGTM. + ...
4 years, 5 months ago (2016-07-22 08:24:55 UTC) #4
svillar
Thanks for the review! https://codereview.chromium.org/2166393002/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html (right): https://codereview.chromium.org/2166393002/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html#newcode58 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html:58: <div class="ahem" style="grid-column: 1; grid-row: ...
4 years, 5 months ago (2016-07-22 13:08:28 UTC) #5
svillar
On 2016/07/22 13:08:28, svillar wrote: > https://codereview.chromium.org/2166393002/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html#newcode116 > third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html:116: > testAutoValues("minmax(min-content, 10px) 48px 5%", "auto ...
4 years, 5 months ago (2016-07-22 15:54:39 UTC) #6
eae
LGTM
4 years, 5 months ago (2016-07-22 17:41:41 UTC) #7
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/2166393002/40001
4 years, 5 months ago (2016-07-22 18:33:14 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/267731)
4 years, 5 months ago (2016-07-22 21:16:37 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/2166393002/40001
4 years, 5 months ago (2016-07-23 08:24:38 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-23 09:35:08 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-07-23 09:37:00 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ef8ba7e30cc8392bb48ad021e59d3aa496c930f1
Cr-Commit-Position: refs/heads/master@{#407361}

Powered by Google App Engine
This is Rietveld 408576698