|
|
[css-grid] Implement repeat(auto-fit)
The auto-fit keyword works exactly as the already implemented auto-fill
except that all empty tracks collapse (became 0px). Absolutely
positioned items do not participate on the layout of the grid so they are
not considered (a grid with only absolutely positioned items is considered
an empty grid).
Whenever a track collapses the gutters on either side do also collapse. When a
collapsed track’s gutters collapse, they coincide exactly. If one side of a
collapsed track does not have a gutter then collapsing its gutters results in no
gutter on either “side” of the collapsed track.
Uncommented the auto-fit cases from Mozilla tests. They have to be adapted
as the reftest machinery requires all the content to be rendered in the
original 800x600 viewport.
BUG= 589460
Committed: https://crrev.com/80ac577b86f1dc0b64339f6f6f566d163ee9215c
Cr-Commit-Position: refs/heads/master@{#405849}
Total comments: 28
Total comments: 47
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1167 lines, -1690 lines) |
Patch |
 |
A + |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-columns.html
|
View
|
1
2
3
4
5
|
8 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html
|
View
|
1
2
3
4
5
|
8 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-element-auto-repeat-get-set.html
|
View
|
1
2
3
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-element-auto-repeat-get-set-expected.txt
|
View
|
1
2
3
|
1 chunk |
+14 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-only-abspos-item-computed-style-crash.html
|
View
|
1
2
3
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-only-abspos-item-computed-style-crash-expected.txt
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-positioned-items-padding.html
|
View
|
1
2
3
4
|
3 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-columns-rows-computed-style-gaps-content-alignment.html
|
View
|
1
2
3
4
|
3 chunks |
+43 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-columns-rows-computed-style-gaps-content-alignment-expected.txt
|
View
|
1
2
3
|
1 chunk |
+112 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-001.html
|
View
|
|
2 chunks |
+52 lines, -53 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-001-expected.html
|
View
|
|
2 chunks |
+57 lines, -54 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-002.html
|
View
|
|
1 chunk |
+51 lines, -52 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-002-expected.html
|
View
|
|
1 chunk |
+51 lines, -51 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-003.html
|
View
|
|
2 chunks |
+56 lines, -52 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-003-expected.html
|
View
|
|
2 chunks |
+57 lines, -51 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-004.html
|
View
|
|
2 chunks |
+56 lines, -52 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-004-expected.html
|
View
|
|
2 chunks |
+57 lines, -51 lines |
0 comments
|
Download
|
 |
D |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005.html
|
View
|
|
1 chunk |
+0 lines, -378 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-expected.html
|
View
|
1
2
|
1 chunk |
+0 lines, -384 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-1.html
|
View
|
|
4 chunks |
+4 lines, -147 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-1-expected.html
|
View
|
1
2
|
3 chunks |
+4 lines, -144 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-2.html
|
View
|
|
4 chunks |
+6 lines, -148 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-2-expected.html
|
View
|
1
2
3
|
1 chunk |
+244 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+8 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutGrid.h
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutGrid.cpp
|
View
|
1
2
3
4
5
6
7
8
|
19 chunks |
+185 lines, -18 lines |
0 comments
|
Download
|
Total messages: 39 (15 generated)
|