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

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html

Issue 764703002: Support unit-less lengths for white-list of properties only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: min-width/height still accepts unitless lengths Created 5 years, 11 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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <link href="resources/grid.css" rel="stylesheet"> 4 <link href="resources/grid.css" rel="stylesheet">
5 <style> 5 <style>
6 .grid { 6 .grid {
7 grid-template-rows: 5px; 7 grid-template-rows: 5px;
8 grid-template-columns: 10px; 8 grid-template-columns: 10px;
9 } 9 }
10 10
11 .gridAutoFixedFixed { 11 .gridAutoFixedFixed {
12 grid-auto-rows: 30px; 12 grid-auto-rows: 30px;
13 grid-auto-columns: 50px; 13 grid-auto-columns: 50px;
14 } 14 }
15 15
16 .gridAutoMinMax { 16 .gridAutoMinMax {
17 font: 10/1 Ahem; 17 font: 10px/1 Ahem;
18 width: 1000px; 18 width: 1000px;
19 grid-auto-rows: minmax(10em, 15px); 19 grid-auto-rows: minmax(10em, 15px);
20 grid-auto-columns: minmax(30%, 100px); 20 grid-auto-columns: minmax(30%, 100px);
21 } 21 }
22 22
23 .gridAutoMinMaxContent { 23 .gridAutoMinMaxContent {
24 grid-auto-rows: min-content; 24 grid-auto-rows: min-content;
25 grid-auto-columns: max-content; 25 grid-auto-columns: max-content;
26 } 26 }
27 </style> 27 </style>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 <div class="unconstrainedContainer" style="position: relative"> 111 <div class="unconstrainedContainer" style="position: relative">
112 <div class="grid gridAutoMinMaxContent gridAutoFlowColumnDense"> 112 <div class="grid gridAutoMinMaxContent gridAutoFlowColumnDense">
113 <div class="sizedToGridArea firstRowAutoColumn" data-offset-x="10" data- offset-y="0" data-expected-width="120" data-expected-height="5">XXXXX XXXXXX</di v> 113 <div class="sizedToGridArea firstRowAutoColumn" data-offset-x="10" data- offset-y="0" data-expected-width="120" data-expected-height="5">XXXXX XXXXXX</di v>
114 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data- offset-y="0" data-expected-width="10" data-expected-height="5"></div> 114 <div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data- offset-y="0" data-expected-width="10" data-expected-height="5"></div>
115 </div> 115 </div>
116 </div> 116 </div>
117 117
118 </body> 118 </body>
119 </html> 119 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698