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

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

Issue 1970573004: [css-grid] Consider invalid using just "span" as grid-line value (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <style> 4 <style>
5 .grid { 5 .grid {
6 grid-template-columns: [first] 50px [middle] 100px [last]; 6 grid-template-columns: [first] 50px [middle] 100px [last];
7 grid-template-rows: [first] 50px [middle] 100px [last]; 7 grid-template-rows: [first] 50px [middle] 100px [last];
8 /* To detect how much we extend the grid. */ 8 /* To detect how much we extend the grid. */
9 grid-auto-columns: 200px; 9 grid-auto-columns: 200px;
10 grid-auto-rows: 200px; 10 grid-auto-rows: 200px;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 grid-column: -1 middle / span 3; 52 grid-column: -1 middle / span 3;
53 grid-row: 1; 53 grid-row: 1;
54 } 54 }
55 55
56 .namedEndSpanGrowGridInRowDirection { 56 .namedEndSpanGrowGridInRowDirection {
57 grid-column: 1; 57 grid-column: 1;
58 grid-row: 2 middle / span 3; 58 grid-row: 2 middle / span 3;
59 } 59 }
60 60
61 .negativeEndPositionStartSpanInColumnDirection { 61 .negativeEndPositionStartSpanInColumnDirection {
62 grid-column: span / -1; 62 grid-column: span 1 / -1;
63 grid-row: 1; 63 grid-row: 1;
64 } 64 }
65 65
66 .negativeEndPositionStartSpanInRowDirection { 66 .negativeEndPositionStartSpanInRowDirection {
67 grid-column: 1; 67 grid-column: 1;
68 grid-row: span 5 / -1; 68 grid-row: span 5 / -1;
69 } 69 }
70 70
71 .negativeNamedGridLineEndPositionStartSpanInColumnDirection { 71 .negativeNamedGridLineEndPositionStartSpanInColumnDirection {
72 grid-column: span / last; 72 grid-column: span 1 / last;
73 grid-row: 1; 73 grid-row: 1;
74 } 74 }
75 75
76 .negativeNamedGridLineEndPositionStartSpanInRowDirection { 76 .negativeNamedGridLineEndPositionStartSpanInRowDirection {
77 grid-column: 1; 77 grid-column: 1;
78 grid-row: span 5 / last; 78 grid-row: span 5 / last;
79 } 79 }
80 80
81 .negativeEndPositionStartNegativeInColumnDirection { 81 .negativeEndPositionStartNegativeInColumnDirection {
82 grid-column: -3 / -1; 82 grid-column: -3 / -1;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 </div> 194 </div>
195 195
196 <div style="position: relative"> 196 <div style="position: relative">
197 <div class="grid" data-expected-width="550" data-expected-height="150"> 197 <div class="grid" data-expected-width="550" data-expected-height="150">
198 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect ion" data-offset-x="0" data-offset-y="0" data-expected-width="200" data-expected -height="50"></div> 198 <div class="sizedToGridArea namedGridLineEndPositionStartNegativeInRowDirect ion" data-offset-x="0" data-offset-y="0" data-expected-width="200" data-expected -height="50"></div>
199 </div> 199 </div>
200 </div> 200 </div>
201 201
202 </body> 202 </body>
203 </html> 203 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698