|
Implement 'grid-template' parsing
This change makes us recognize grid-template, parse it, store it and
return properly to JavaScript.
The specification mandates to validate to check that the areas defined
by 'grid-template' are rectangular which involves a lot of the
CSSParser code.
Because validating involves building the grid areas, a new CSSValue
was introduced to hold the computed value. Note that we have to track
the explicit size of the named grid areas as the named grid areas (".")
are not tracked in our HashMap of grid areas.
BUG= 258092
TEST=fast/css-grid-layout/grid-template-get-set.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155199
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+496 lines, -4 lines) |
Patch |
|
A |
LayoutTests/fast/css-grid-layout/grid-template-get-set.html
|
View
|
|
1 chunk |
+124 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/grid-template-get-set-expected.txt
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/webexposed/css-properties-as-js-properties-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/css/CSSGridTemplateValue.h
|
View
|
1
2
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
|
A |
Source/core/css/CSSGridTemplateValue.cpp
|
View
|
1
2
|
1 chunk |
+87 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSParser.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSParser-in.cpp
|
View
|
1
2
|
3 chunks |
+80 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSProperty.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSPropertyNames.in
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSValue.h
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSValue.cpp
|
View
|
1
2
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
1
2
|
2 chunks |
+27 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/UseCounter.cpp
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/GridCoordinate.h
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
1
2
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/StyleGridData.h
|
View
|
1
2
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/StyleGridData.cpp
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|