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

Issue 1712503002: [css-grid] Rows track sizes are optional in grid-template shorthand (Closed)

Created:
4 years, 10 months ago by Manuel Rego
Modified:
4 years, 10 months ago
Reviewers:
svillar, Timothy Loh, rune
CC:
chromium-reviews, jfernandez, svillar, blink-reviews-css, Manuel Rego, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Rows track sizes are optional in grid-template shorthand You can omit the size of the rows in grid-template shorthand, even if you specify a named grid line for the end of the row, due to a change in the spec back in 2014: https://github.com/w3c/csswg-drafts/commit/9f660c4183c73c1f5279c46904dc6cb314f76194 Before if you want to specify a named grid line, you need to set the row size. Update parsing, so it nows accepts things like: grid-template: 100px / "a" [bottom]; BUG=528609 TEST=fast/css-grid-layout/grid-template-shorthand-get-set.html Committed: https://crrev.com/6b4231e6900ab5eeb42cf4c2da6e02f118705207 Cr-Commit-Position: refs/heads/master@{#376706}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased patch #

Total comments: 2

Patch Set 3 : Applied suggested changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -3 lines) Patch
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set.html View 1 2 7 chunks +36 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Manuel Rego
4 years, 10 months ago (2016-02-18 11:17:28 UTC) #2
svillar
Waiting for the rebased patch... https://codereview.chromium.org/1712503002/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set.html File third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set.html (right): https://codereview.chromium.org/1712503002/diff/1/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set.html#newcode29 third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-shorthand-get-set.html:29: } As you're adding ...
4 years, 10 months ago (2016-02-19 11:18:01 UTC) #3
svillar
lgtm https://codereview.chromium.org/1712503002/diff/20001/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp (right): https://codereview.chromium.org/1712503002/diff/20001/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp#newcode1483 third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp:1483: if (m_valueList->current() && !isForwardSlashOperator(m_valueList->current()) && m_valueList->current()->m_unit != CSSParserValue::String ...
4 years, 10 months ago (2016-02-19 11:48:44 UTC) #4
Manuel Rego
Thanks for the review! Uploaded new patch with suggested changes. Now I need an OWNER ...
4 years, 10 months ago (2016-02-19 12:24:37 UTC) #5
Timothy Loh
lgtm
4 years, 10 months ago (2016-02-21 23:53:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1712503002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1712503002/40001
4 years, 10 months ago (2016-02-22 08:07:43 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-22 09:16:14 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 09:17:51 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b4231e6900ab5eeb42cf4c2da6e02f118705207
Cr-Commit-Position: refs/heads/master@{#376706}

Powered by Google App Engine
This is Rietveld 408576698