Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/flex-content-distribution.html

Issue 1702013003: [css-grid] Swap columns and rows in grid-template shorthand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Swap columns and rows in tests under fast/repaint/ Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <link href="resources/grid-alignment.css" rel="stylesheet"> 4 <link href="resources/grid-alignment.css" rel="stylesheet">
5 <style> 5 <style>
6 .freeSpaceForColumnsGrid { 6 .freeSpaceForColumnsGrid {
7 grid-template: minmax(20px, 0.7fr) / 100%; 7 grid-template: 100% / minmax(20px, 0.7fr);
8 width: 50px; 8 width: 50px;
9 height: 100px; 9 height: 100px;
10 } 10 }
11 11
12 .freeSpaceForRowsGrid { 12 .freeSpaceForRowsGrid {
13 grid-template: 100% / minmax(20px, 0.7fr); 13 grid-template: minmax(20px, 0.7fr) / 100%;
14 width: 50px; 14 width: 50px;
15 height: 100px; 15 height: 100px;
16 } 16 }
17 17
18 .container { position: relative; } 18 .container { position: relative; }
19 19
20 .item { 20 .item {
21 width: 100%; 21 width: 100%;
22 height: 50px; 22 height: 50px;
23 background-color: red; 23 background-color: red;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 </div> 72 </div>
73 </div> 73 </div>
74 74
75 <p>Grid with align-content: end.</p> 75 <p>Grid with align-content: end.</p>
76 <div class="container"> 76 <div class="container">
77 <div class="grid freeSpaceForRowsGrid alignContentEnd"> 77 <div class="grid freeSpaceForRowsGrid alignContentEnd">
78 <div class="item2" data-offset-x="0" data-offset-y="30" data-expected-wi dth="50" data-expected-height="70"></div> 78 <div class="item2" data-offset-x="0" data-offset-y="30" data-expected-wi dth="50" data-expected-height="70"></div>
79 </div> 79 </div>
80 </div> 80 </div>
81 </body> 81 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698