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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-item-negative-position-resolution.html

Issue 23528004: [CSS Grid Layout] Update named grid lines syntax to the last version of the specs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@named
Patch Set: Patch for landing v2 Created 7 years, 1 month 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: 'first' 50px 'middle' 100px 'last'; 10 grid-definition-columns: (first) 50px (middle) 100px (last);
11 grid-definition-rows: 'first' 50px 'middle' 100px 'last'; 11 grid-definition-rows: (first) 50px (middle) 100px (last);
12 /* To detect how much we extend the grid. */ 12 /* To detect how much we extend the grid. */
13 grid-auto-columns: 200px; 13 grid-auto-columns: 200px;
14 grid-auto-rows: 200px; 14 grid-auto-rows: 200px;
15 15
16 /* Make the grid shrink-to-fit. */ 16 /* Make the grid shrink-to-fit. */
17 position: absolute; 17 position: absolute;
18 } 18 }
19 19
20 .negativeStartPositionGrowGridInColumnDirection { 20 .negativeStartPositionGrowGridInColumnDirection {
21 grid-column: -1 / auto; 21 grid-column: -1 / auto;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 </div> 198 </div>
199 199
200 <div style="position: relative"> 200 <div style="position: relative">
201 <div class="grid" data-expected-width="150" data-expected-height="150"> 201 <div class="grid" data-expected-width="150" data-expected-height="150">
202 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect ion" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected- height="50"></div> 202 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect ion" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected- height="50"></div>
203 </div> 203 </div>
204 </div> 204 </div>
205 205
206 </body> 206 </body>
207 </html> 207 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698