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

Issue 23528004: [CSS Grid Layout] Update named grid lines syntax to the last version of the specs (Closed)

Created:
7 years, 3 months ago by svillar
Modified:
7 years, 1 month ago
CC:
blink-reviews, apavlov+blink_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@named
Visibility:
Public.

Description

[CSS Grid Layout] Update named grid lines syntax to the last version of the specs Names for grid lines are now specified as a list of whitespace separated idents enclosed in parentheses instead of as a list of strings. BUG=282452 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162555

Patch Set 1 #

Total comments: 7

Patch Set 2 : Added some new tests #

Total comments: 4

Patch Set 3 : New parsing based on rune's and jchaffraix's comments #

Total comments: 2

Patch Set 4 : Added empty track-name list test case #

Total comments: 1

Patch Set 5 : Final patch for landing #

Total comments: 6

Patch Set 6 : Patch for landing v2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+637 lines, -366 lines) Patch
M LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-expected.txt View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-container-change-named-grid-lines-recompute-child.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-element-repeat-get-set.html View 1 2 3 4 2 chunks +17 lines, -17 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-element-repeat-get-set-expected.txt View 1 2 3 4 1 chunk +11 lines, -11 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-bad-resolution-double-span.html View 2 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-named-grid-area-resolution.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-named-grid-line-resolution.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-negative-position-resolution.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-position-changed-dynamic.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html View 1 2 3 4 5 2 chunks +83 lines, -46 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt View 1 2 3 4 5 1 chunk +94 lines, -66 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-grid-columns-rows-get-set-expected.txt View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-grid-columns-rows-get-set-multiple-expected.txt View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-grid-element-repeat-get-set.html View 1 2 3 4 2 chunks +17 lines, -17 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-grid-element-repeat-get-set-expected.txt View 1 2 3 4 1 chunk +11 lines, -11 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set.html View 1 2 3 4 2 chunks +42 lines, -30 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt View 1 2 3 4 1 chunk +64 lines, -60 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set.js View 1 2 3 4 3 chunks +8 lines, -8 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js View 1 2 3 4 2 chunks +8 lines, -8 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/resources/non-grid-columns-rows-get-set-multiple.js View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M Source/core/css/CSSGrammar.y View 1 2 3 4 5 chunks +37 lines, -5 lines 0 comments Download
A Source/core/css/CSSGridLineNamesValue.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A Source/core/css/CSSGridLineNamesValue.cpp View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
M Source/core/css/CSSParser.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/CSSParser-in.cpp View 1 2 3 4 5 6 chunks +39 lines, -25 lines 0 comments Download
M Source/core/css/CSSParserValues.h View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M Source/core/css/CSSParserValues.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/css/CSSValue.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSValue.cpp View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Julien - ping for review
I would like some testing added as part of this change: * nested parentheses: (foo ...
7 years, 3 months ago (2013-09-04 21:41:00 UTC) #1
svillar
I'll add some extra checks, I also believe that this change indeed deserves them. https://codereview.chromium.org/23528004/diff/1/Source/core/css/CSSGrammar.y.in ...
7 years, 3 months ago (2013-09-05 07:05:21 UTC) #2
Julien - ping for review
https://codereview.chromium.org/23528004/diff/1/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://codereview.chromium.org/23528004/diff/1/Source/core/css/CSSGrammar.y.in#newcode1664 Source/core/css/CSSGrammar.y.in:1664: $$->addValue(makeOperatorValue(')')); > We did not have that issue before ...
7 years, 3 months ago (2013-09-09 23:33:54 UTC) #3
rune
https://codereview.chromium.org/23528004/diff/7001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://codereview.chromium.org/23528004/diff/7001/Source/core/css/CSSGrammar.y.in#newcode1678 Source/core/css/CSSGrammar.y.in:1678: $$->extend(*($2)); $2, which comes from is createFloatingValueList() in the ...
7 years, 3 months ago (2013-09-10 11:30:19 UTC) #4
rune
https://codereview.chromium.org/23528004/diff/1/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://codereview.chromium.org/23528004/diff/1/Source/core/css/CSSGrammar.y.in#newcode1685 Source/core/css/CSSGrammar.y.in:1685: | expr operator track_names_list { On 2013/09/04 21:41:00, Julien ...
7 years, 3 months ago (2013-09-10 16:06:11 UTC) #5
Julien - ping for review
Sorry for the delay, didn't reply to the answer straight away and this review dropped ...
7 years, 1 month ago (2013-11-12 07:32:44 UTC) #6
Julien - ping for review
https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in#newcode1663 Source/core/css/CSSGrammar.y.in:1663: $$->insertValueAt(0, makeOperatorValue('(')); I wonder if we couldn't simplify the ...
7 years, 1 month ago (2013-11-12 07:33:16 UTC) #7
svillar
https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in#newcode1663 Source/core/css/CSSGrammar.y.in:1663: $$->insertValueAt(0, makeOperatorValue('(')); On 2013/11/12 07:33:17, Julien Chaffraix - AEDT ...
7 years, 1 month ago (2013-11-12 07:45:04 UTC) #8
Julien - ping for review
https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in File Source/core/css/CSSGrammar.y.in (right): https://chromiumcodereview.appspot.com/23528004/diff/7001/Source/core/css/CSSGrammar.y.in#newcode1663 Source/core/css/CSSGrammar.y.in:1663: $$->insertValueAt(0, makeOperatorValue('(')); On 2013/11/12 07:45:04, svillar wrote: > On ...
7 years, 1 month ago (2013-11-12 07:49:38 UTC) #9
svillar
So this new CL adds track_names_list as a term (following rune's suggestion). We also add ...
7 years, 1 month ago (2013-11-12 18:21:57 UTC) #10
Julien - ping for review
I like the new change. lgtm. @rune / @darktears, either of you should double check ...
7 years, 1 month ago (2013-11-13 02:18:52 UTC) #11
darktears
On 2013/11/13 02:18:52, Julien Chaffraix - AEDT wrote: > I like the new change. lgtm. ...
7 years, 1 month ago (2013-11-14 18:01:00 UTC) #12
rune
On 2013/11/14 18:01:00, darktears wrote: > I'm not an expert on the recovery part of ...
7 years, 1 month ago (2013-11-14 20:12:47 UTC) #13
rune
https://codereview.chromium.org/23528004/diff/115001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html File LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html (right): https://codereview.chromium.org/23528004/diff/115001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html#newcode125 LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html:125: testGridDefinitionsValues(document.getElementById("gridWithEmptyParentheses"), "none", "none"); According to the current ED [1], ...
7 years, 1 month ago (2013-11-14 20:54:43 UTC) #14
rune
https://codereview.chromium.org/23528004/diff/55001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html File LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html (right): https://codereview.chromium.org/23528004/diff/55001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html#newcode100 LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html:100: testGridDefinitionsSetJSValues("(first) 18px", "66px (last)", "first 18px", "66px last", "first ...
7 years, 1 month ago (2013-11-14 21:16:49 UTC) #15
svillar
On 2013/11/14 20:54:43, rune - CET wrote: > https://codereview.chromium.org/23528004/diff/115001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html > File LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html (right): > > ...
7 years, 1 month ago (2013-11-15 08:10:26 UTC) #16
svillar
On 2013/11/14 21:16:49, rune - CET wrote: > https://codereview.chromium.org/23528004/diff/55001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html > File LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html (right): > > ...
7 years, 1 month ago (2013-11-15 11:06:21 UTC) #17
svillar
On 2013/11/14 21:16:49, rune - CET wrote: > https://codereview.chromium.org/23528004/diff/55001/LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html > File LayoutTests/fast/css-grid-layout/named-grid-line-get-set.html (right): > > ...
7 years, 1 month ago (2013-11-19 12:29:11 UTC) #18
svillar
On 2013/11/19 12:29:11, svillar wrote: > Actually I'm doing this in a follow-up CL because ...
7 years, 1 month ago (2013-11-19 12:30:32 UTC) #19
svillar
Final version of the patch with two main changes: first we now support empty grid ...
7 years, 1 month ago (2013-11-20 17:49:31 UTC) #20
svillar
On 2013/11/20 17:49:31, svillar wrote: > Final version of the patch with two main changes: ...
7 years, 1 month ago (2013-11-21 18:45:49 UTC) #21
Julien - ping for review
lgtm https://codereview.chromium.org/23528004/diff/235001/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set.html File LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set.html (right): https://codereview.chromium.org/23528004/diff/235001/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set.html#newcode43 LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set.html:43: } I would test several contiguous named grid ...
7 years, 1 month ago (2013-11-21 22:50:34 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/svillar@igalia.com/23528004/495001
7 years, 1 month ago (2013-11-22 17:02:52 UTC) #23
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 18:48:17 UTC) #24
Message was sent while issue was closed.
Change committed as 162555

Powered by Google App Engine
This is Rietveld 408576698