|
[CSS Grid Layout] Handle percentages of indefinite sizes in minmax()
After r164062 percentages of indefinite sizes were correctly
computed to "auto". The problem is that we were not doing it when
the percentage was inside the minmax() function. In those cases
it should compute to min-content for the min track sizing
function or to max-content for the max track sizing function.
Added a couple of tests, one to verify that we do not assert with
percentages inside minmax() and another one to verify that we
properly compute the percentage of indefinite size in various
situations.
BUG= 401477, 409085
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181800
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+221 lines, -22 lines) |
Patch |
|
M |
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-resolution.html
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size.html
|
View
|
1
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size-expected.txt
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size-in-auto.html
|
View
|
1
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size-in-auto-expected.txt
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size-in-minmax-crash.html
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css-grid-layout/percent-of-indefinite-track-size-in-minmax-crash-expected.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderGrid.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderGrid.cpp
|
View
|
1
2
3
|
7 chunks |
+20 lines, -19 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/GridLength.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (7 generated)
|