OLD | NEW |
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 <script> | |
5 if (window.testRunner) | |
6 testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1); | |
7 </script> | |
8 <link href="resources/grid.css" rel="stylesheet"> | 4 <link href="resources/grid.css" rel="stylesheet"> |
9 <style> | 5 <style> |
10 .grid { | 6 .grid { |
11 /* Give an explicit size to the grid so that percentage grid tracks have a c
onsistent resolution */ | 7 /* Give an explicit size to the grid so that percentage grid tracks have a c
onsistent resolution */ |
12 width: 800px; | 8 width: 800px; |
13 height: 600px; | 9 height: 600px; |
14 } | 10 } |
15 | 11 |
16 .gridItem { | 12 .gridItem { |
17 grid-column: 1; | 13 grid-column: 1; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 testInvalidSyntax("repeat()"); | 124 testInvalidSyntax("repeat()"); |
129 testInvalidSyntax("repeat(3 / auto)"); | 125 testInvalidSyntax("repeat(3 / auto)"); |
130 testInvalidSyntax("repeat(3 , ,)"); | 126 testInvalidSyntax("repeat(3 , ,)"); |
131 testInvalidSyntax("repeat(0, 15px)"); | 127 testInvalidSyntax("repeat(0, 15px)"); |
132 testInvalidSyntax("repeat(-1, auto)"); | 128 testInvalidSyntax("repeat(-1, auto)"); |
133 // Nesting is no allowed. | 129 // Nesting is no allowed. |
134 testInvalidSyntax("repeat(2, repeat(1, auto))"); | 130 testInvalidSyntax("repeat(2, repeat(1, auto))"); |
135 </script> | 131 </script> |
136 </body> | 132 </body> |
137 </html> | 133 </html> |
OLD | NEW |