|
[CSS Grid Layout] Update grid-auto-flow to the new syntax
In last versions of the spec grid-auto-flow syntax has changed. New
syntax is:
[ row | column ] && dense? | stack && [ row | column ]?
Implemented parsing for new syntax and added/modified test cases in
current layout tests.
Adapted code to keep the current behavior using "stack" as if it was
"none" in the previous syntax. This should be fixed in a follow-up patch
once "stack" is implemented.
Also "dense" needs to be reviewed. Right now auto-placement algorithm is
always "dense" and never "sparse".
BUG= 384099
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177258
Total comments: 10
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+491 lines, -127 lines) |
Patch |
 |
M |
LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set.html
|
View
|
1
2
3
|
1 chunk |
+144 lines, -12 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-auto-flow-get-set-expected.txt
|
View
|
1
2
3
|
1 chunk |
+35 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-auto-flow-resolution.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-auto-flow-update-expected.txt
|
View
|
|
1 chunk |
+1 line, -0 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-z-index-stacking-context.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-shorthand-get-set.html
|
View
|
|
3 chunks |
+44 lines, -14 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/grid-shorthand-get-set-expected.txt
|
View
|
|
7 chunks |
+52 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/named-grid-lines-with-named-grid-areas-dynamic-get-set.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/named-grid-lines-with-named-grid-areas-resolution.html
|
View
|
1
2
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css-grid-layout/resources/grid.css
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/getComputedStyle/computed-style-grid-layout-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/ietestcenter/css3/grid/grid-column-002.htm
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/ietestcenter/css3/grid/grid-column-003.htm
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
3
4
|
1 chunk |
+36 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSPrimitiveValueMappings.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSProperties.in
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSValueKeywords.in
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser-in.cpp
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
4
|
5 chunks |
+51 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderGrid.cpp
|
View
|
1
2
3
|
5 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/GridResolvedPosition.cpp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyleConstants.h
|
View
|
1
2
3
4
7
|
1 chunk |
+20 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/StyleGridData.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|