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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-item-display.html

Issue 146773002: [CSS Grid Layout] Rename grid-definition-{columns|rows} to match the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed renaming issues with some tests. Created 6 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 <html> 2 <html>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); 5 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
6 </script> 6 </script>
7 <link href="resources/grid.css" rel="stylesheet"> 7 <link href="resources/grid.css" rel="stylesheet">
8 <style> 8 <style>
9 .grid { 9 .grid {
10 grid-definition-columns: 50px 100px 200px; 10 grid-template-columns: 50px 100px 200px;
11 grid-definition-rows: 50px 100px 200px; 11 grid-template-rows: 50px 100px 200px;
12 background-color: #aaa; 12 background-color: #aaa;
13 } 13 }
14 .grid > * { 14 .grid > * {
15 margin: 0; /* Disable any margins as they change the top / left offsets. */ 15 margin: 0; /* Disable any margins as they change the top / left offsets. */
16 grid-column: 2; 16 grid-column: 2;
17 grid-row: 3; 17 grid-row: 3;
18 } 18 }
19 </style> 19 </style>
20 <script src="../../resources/check-layout.js"></script> 20 <script src="../../resources/check-layout.js"></script>
21 <body onload="checkLayout('.grid > *')"> 21 <body onload="checkLayout('.grid > *')">
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <circle cx="50" cy="50" r="50" fill="blue"> 67 <circle cx="50" cy="50" r="50" fill="blue">
68 </circle> 68 </circle>
69 </svg> 69 </svg>
70 70
71 <!-- Spans are common so they should be tested. --> 71 <!-- Spans are common so they should be tested. -->
72 <span data-expected-display="block" data-offset-x="50" data-offset-y="15 0"></span> 72 <span data-expected-display="block" data-offset-x="50" data-offset-y="15 0"></span>
73 </div> 73 </div>
74 </div> 74 </div>
75 75
76 </html> 76 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698