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

Issue 826893003: [CSS Grid Layout] Remove stack from grid-auto-flow syntax (Closed)

Created:
5 years, 12 months ago by Manuel Rego
Modified:
5 years, 11 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-rendering, dglazkov+blink, Dominik Röttsches, eae+blinkwatch, ed+blinkwatch_opera.com, jchaffraix+rendering, jfernandez, leviw+renderwatch, mstensho (USE GERRIT), pdr+renderingwatchlist_chromium.org, rwlbuis, svillar, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@remove-stack
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[CSS Grid Layout] Remove stack from grid-auto-flow syntax "stack" mode for grid-auto-flow property has been removed from the grid layout spec: http://dev.w3.org/csswg/css-grid/#propdef-grid-auto-flow New syntax is: [ row | column ] || dense Modified parsing in order to adapt it to the new syntax. It introduces a new flag in order to detect if the grid has or not auto-placed items and avoid to dirty the grid in some situations. Also the current behavior relying on "stack" has been updated following the spec. Now it won't be possible to mimic the old "none" (or "stack") unless you specify manually the grid-placement properties. BUG=384099

Patch Set 1 #

Patch Set 2 : Adding perftests #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -225 lines) Patch
M LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html View 8 chunks +6 lines, -51 lines 2 comments Download
M LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt View 4 chunks +1 line, -25 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-named-grid-area-resolution.html View 2 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-item-z-index-stacking-context.html View 2 chunks +4 lines, -5 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html View 5 chunks +0 lines, -15 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/grid-shorthand-get-set-expected.txt View 2 chunks +0 lines, -18 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/named-grid-lines-with-named-grid-areas-dynamic-get-set.html View 3 chunks +9 lines, -9 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/named-grid-lines-with-named-grid-areas-resolution.html View 6 chunks +17 lines, -17 lines 0 comments Download
M LayoutTests/fast/css-grid-layout/resources/grid.css View 1 chunk +0 lines, -4 lines 0 comments Download
M LayoutTests/ietestcenter/css3/grid/grid-column-002.htm View 3 chunks +20 lines, -10 lines 3 comments Download
M LayoutTests/ietestcenter/css3/grid/grid-column-003.htm View 3 chunks +14 lines, -6 lines 0 comments Download
A PerformanceTests/Layout/grid-add-auto-positioned-items.html View 1 1 chunk +47 lines, -0 lines 1 comment Download
A PerformanceTests/Layout/grid-add-positioned-items.html View 1 1 chunk +49 lines, -0 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 2 chunks +0 lines, -10 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 2 chunks +3 lines, -7 lines 3 comments Download
M Source/core/css/resolver/StyleBuilderConverter.cpp View 1 chunk +4 lines, -14 lines 0 comments Download
M Source/core/rendering/RenderGrid.h View 2 chunks +5 lines, -1 line 1 comment Download
M Source/core/rendering/RenderGrid.cpp View 6 chunks +7 lines, -14 lines 0 comments Download
M Source/core/rendering/style/GridResolvedPosition.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyleConstants.h View 1 chunk +5 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Manuel Rego
This is related to another CL: https://codereview.chromium.org/826893002/ Here I'm trying to avoid marking the grid ...
5 years, 12 months ago (2014-12-26 15:35:16 UTC) #2
Julien - ping for review
On 2014/12/26 at 15:35:16, rego wrote: > This is related to another CL: > https://codereview.chromium.org/826893002/ ...
5 years, 11 months ago (2015-01-02 10:04:18 UTC) #3
Manuel Rego
On 2015/01/02 10:04:18, Julien Chaffraix - CET wrote: > On 2014/12/26 at 15:35:16, rego wrote: ...
5 years, 11 months ago (2015-01-02 14:18:42 UTC) #4
Manuel Rego
On 2015/01/02 14:18:42, Manuel Rego wrote: > In the auto-positioned items test this patch has ...
5 years, 11 months ago (2015-01-02 22:13:34 UTC) #5
Julien - ping for review
https://codereview.chromium.org/826893003/diff/20001/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html File LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html (left): https://codereview.chromium.org/826893003/diff/20001/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html#oldcode59 LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html:59: grid-auto-flow: stack row row; We could keep some of ...
5 years, 11 months ago (2015-01-05 13:11:35 UTC) #6
Julien - ping for review
On 2015/01/02 at 22:13:34, rego wrote: > On 2015/01/02 14:18:42, Manuel Rego wrote: > > ...
5 years, 11 months ago (2015-01-05 13:14:20 UTC) #7
Manuel Rego
On 2015/01/05 13:14:20, Julien Chaffraix - CET wrote: > On 2015/01/02 at 22:13:34, rego wrote: ...
5 years, 11 months ago (2015-01-08 12:32:51 UTC) #8
Manuel Rego
Thanks for the review. Just a few comments. https://codereview.chromium.org/826893003/diff/20001/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html File LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html (left): https://codereview.chromium.org/826893003/diff/20001/LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html#oldcode59 LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html:59: grid-auto-flow: ...
5 years, 11 months ago (2015-01-08 12:50:29 UTC) #9
Julien - ping for review
https://codereview.chromium.org/826893003/diff/20001/LayoutTests/ietestcenter/css3/grid/grid-column-002.htm File LayoutTests/ietestcenter/css3/grid/grid-column-002.htm (right): https://codereview.chromium.org/826893003/diff/20001/LayoutTests/ietestcenter/css3/grid/grid-column-002.htm#newcode91 LayoutTests/ietestcenter/css3/grid/grid-column-002.htm:91: <div id="container"> On 2015/01/08 12:50:28, Manuel Rego wrote: > ...
5 years, 11 months ago (2015-01-09 09:13:03 UTC) #10
Manuel Rego
5 years, 11 months ago (2015-01-09 11:43:30 UTC) #11
So, I'm closing this CL as we discard the flag for the moment.
And apply the suggested changes directly in the other CL:
https://codereview.chromium.org/826893002/

Powered by Google App Engine
This is Rietveld 408576698