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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-gutters-and-alignment.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 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet"> 2 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel ="stylesheet">
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 <script src="../../resources/check-layout.js"></script> 5 <script src="../../resources/check-layout.js"></script>
6 <script src="../../resources/js-test.js"></script> 6 <script src="../../resources/js-test.js"></script>
7 <style> 7 <style>
8 body { margin: 0px; } 8 body { margin: 0px; }
9 9
10 .grid100And200 { 10 .grid100And200 {
11 grid-template-columns: 100px 100px; 11 grid-template-columns: 100px 100px;
12 grid-template-rows: 200px 200px; 12 grid-template-rows: 200px 200px;
13 position: relative; /* For the <p> comments */ 13 position: relative; /* For the <p> comments */
14 } 14 }
15 15
16 .grid50And100 { 16 .grid50And100 {
17 grid: 50px 50px / 100px 100px; 17 grid: 100px 100px / 50px 50px;
18 width: 200px; 18 width: 200px;
19 height: 300px; 19 height: 300px;
20 position: relative; /* For the <p> comments */ 20 position: relative; /* For the <p> comments */
21 } 21 }
22 22
23 .gridAuto20And40 { 23 .gridAuto20And40 {
24 grid-auto-columns: 20px; 24 grid-auto-columns: 20px;
25 grid-auto-rows: 40px; 25 grid-auto-rows: 40px;
26 width: 400px; 26 width: 400px;
27 height: 300px; 27 height: 300px;
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 <p>Negative free space. align-content: end</p> 359 <p>Negative free space. align-content: end</p>
360 <div class="grid gridWithAutoRows alignContentEnd gridRowColumnGaps" style=" margin-top: 125px" data-expected-width="24" data-expected-height="54"> 360 <div class="grid gridWithAutoRows alignContentEnd gridRowColumnGaps" style=" margin-top: 125px" data-expected-width="24" data-expected-height="54">
361 <div class="cell firstRowFirstColumn" data-offset-x="0" data-offset-y=" -104" data-expected-width="20" data-expected-height="40"></div> 361 <div class="cell firstRowFirstColumn" data-offset-x="0" data-offset-y=" -104" data-expected-width="20" data-expected-height="40"></div>
362 <div class="cell secondRowFirstColumn" data-offset-x="0" data-offset-y= "-47" data-expected-width="20" data-expected-height="40"></div> 362 <div class="cell secondRowFirstColumn" data-offset-x="0" data-offset-y= "-47" data-expected-width="20" data-expected-height="40"></div>
363 <div class="cell thirdRowFirstColumn" data-offset-x="0" data-offset-y=" 10" data-expected-width="20" data-expected-height="40"></div> 363 <div class="cell thirdRowFirstColumn" data-offset-x="0" data-offset-y=" 10" data-expected-width="20" data-expected-height="40"></div>
364 </div> 364 </div>
365 </div> 365 </div>
366 366
367 367
368 </body> 368 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698