| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fill-rows.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html
|
| similarity index 86%
|
| copy from third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fill-rows.html
|
| copy to third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html
|
| index d81bd21c1ef5b6f5c000bb73a0bc19fdacdf4a61..ec0d2be3b5b77c2171e7e92fa8a0ea7e5d76f499 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fill-rows.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-fit-rows.html
|
| @@ -16,11 +16,11 @@
|
| margin-right: 2px;
|
| }
|
|
|
| -.gridOnlyAutoRepeat { grid-template-rows: repeat(auto-fill, 30px [autobar]); }
|
| -.gridAutoRepeatAndFixedBefore { grid-template-rows: 10px [foo] 20% [bar] repeat(auto-fill, [autofoo] 35px); }
|
| -.gridAutoRepeatAndFixedAfter { grid-template-rows: repeat(auto-fill, [first] 30px [last]) [foo] minmax(60px, 80px) [bar] minmax(45px, max-content); }
|
| -.gridAutoRepeatAndFixed { grid-template-rows: [start] repeat(2, 50px [a]) [middle] repeat(auto-fill, [autofoo] 15px [autobar]) minmax(5%, 10%) [end]; }
|
| -.gridMultipleNames { grid-template-rows: [start] 20px [foo] 50% repeat(auto-fill, [bar] 20px [start foo]) [foo] 10% [end bar]; }
|
| +.gridOnlyAutoRepeat { grid-template-rows: repeat(auto-fit, 30px [autobar]); }
|
| +.gridAutoRepeatAndFixedBefore { grid-template-rows: 10px [foo] 20% [bar] repeat(auto-fit, [autofoo] 35px); }
|
| +.gridAutoRepeatAndFixedAfter { grid-template-rows: repeat(auto-fit, [first] 30px [last]) [foo] minmax(60px, 80px) [bar] minmax(45px, max-content); }
|
| +.gridAutoRepeatAndFixed { grid-template-rows: [start] repeat(2, 50px [a]) [middle] repeat(auto-fit, [autofoo] 15px [autobar]) minmax(5%, 10%) [end]; }
|
| +.gridMultipleNames { grid-template-rows: [start] 20px [foo] 50% repeat(auto-fit, [bar] 20px [start foo]) [foo] 10% [end bar]; }
|
|
|
| .item { background-color: cyan; }
|
|
|
| @@ -35,7 +35,7 @@
|
| <body onload="checkLayout('.grid')">
|
| <div id="log"></div>
|
|
|
| -<p>This test checks that repeat(auto-fill, ) syntax works as expected.</p>
|
| +<p>This test checks that repeat(auto-fit, ) syntax works as expected.</p>
|
|
|
| <div class="grid gridOnlyAutoRepeat">
|
| <div class="item" style="grid-row: 1 / span 6" data-offset-y="0" data-offset-x="0" data-expected-height="180" data-expected-width="25"></div>
|
| @@ -50,7 +50,7 @@
|
| </div>
|
|
|
| <div class="grid gridOnlyAutoRepeat gap">
|
| - <div class="item" style="grid-row: autobar 2 / span 3" data-offset-y="100" data-offset-x="0" data-expected-height="257" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: autobar 2 / span 3" data-offset-y="0" data-offset-x="0" data-expected-height="257" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedBefore">
|
| @@ -74,7 +74,7 @@
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedBefore gap">
|
| - <div class="item" style="grid-row: notPresent / 3 autofoo" data-offset-y="377" data-offset-x="0" data-expected-height="157" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: notPresent / 3 autofoo" data-offset-y="267" data-offset-x="0" data-expected-height="157" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedAfter">
|
| @@ -86,7 +86,7 @@
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedAfter">
|
| - <div class="item" style="grid-row: last 2 / foo" data-offset-y="60" data-offset-x="0" data-expected-height="80" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: last 2 / foo" data-offset-y="0" data-offset-x="0" data-expected-height="80" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedAfter gap">
|
| @@ -94,7 +94,7 @@
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedAfter gap">
|
| - <div class="item" style="grid-row: 3 / span 1 bar" data-offset-y="130" data-offset-x="0" data-expected-height="222" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: 3 / span 1 bar" data-offset-y="80" data-offset-x="0" data-expected-height="222" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixedAfter gap">
|
| @@ -118,7 +118,7 @@
|
| </div>
|
|
|
| <div class="grid gridAutoRepeatAndFixed gap">
|
| - <div class="item" style="grid-row: autobar / -1" data-offset-y="175" data-offset-x="0" data-expected-height="20" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: autobar / -1" data-offset-y="140" data-offset-x="0" data-expected-height="20" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridMultipleNames">
|
| @@ -126,7 +126,7 @@
|
| </div>
|
|
|
| <div class="grid gridMultipleNames">
|
| - <div class="item" style="grid-row: foo 3 / 4 bar" data-offset-y="160" data-offset-x="0" data-expected-height="40" data-expected-width="25"></div>
|
| + <div class="item" style="grid-row: foo 3 / 4 bar" data-offset-y="120" data-offset-x="0" data-expected-height="40" data-expected-width="25"></div>
|
| </div>
|
|
|
| <div class="grid gridMultipleNames">
|
|
|