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 <link href="resources/grid.css" rel="stylesheet"> | 4 <link href="resources/grid.css" rel="stylesheet"> |
5 <style> | 5 <style> |
6 .singleSingleTrackRepeat { | 6 .singleSingleTrackRepeat { |
7 grid-template-rows: repeat(1, 18px); | 7 grid-template-rows: repeat(1, 18px); |
8 grid-template-columns: repeat(1, 15%); | 8 grid-template-columns: repeat(1, 15%); |
9 } | 9 } |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 element.style.gridTemplateColumns = gridColumn; | 84 element.style.gridTemplateColumns = gridColumn; |
85 shouldBeEqualToString("window.getComputedStyle(element, '').getPropertyV
alue('grid-template-columns')", "none"); | 85 shouldBeEqualToString("window.getComputedStyle(element, '').getPropertyV
alue('grid-template-columns')", "none"); |
86 document.body.removeChild(element); | 86 document.body.removeChild(element); |
87 } | 87 } |
88 testInvalidSyntax("repeat("); | 88 testInvalidSyntax("repeat("); |
89 testInvalidSyntax("repeat()"); | 89 testInvalidSyntax("repeat()"); |
90 testInvalidSyntax("repeat(3 / auto)"); | 90 testInvalidSyntax("repeat(3 / auto)"); |
91 testInvalidSyntax("repeat(3 , ,)"); | 91 testInvalidSyntax("repeat(3 , ,)"); |
92 testInvalidSyntax("repeat(0, 15px)"); | 92 testInvalidSyntax("repeat(0, 15px)"); |
93 testInvalidSyntax("repeat(-1, auto)"); | 93 testInvalidSyntax("repeat(-1, auto)"); |
| 94 testInvalidSyntax("repeat(1, (auto) 10px)"); |
| 95 testInvalidSyntax("repeat(1, (start auto) 10px)"); |
| 96 testInvalidSyntax("repeat(1, 10px (minmax))"); |
| 97 testInvalidSyntax("repeat(1, 10px (minmax end))"); |
| 98 testInvalidSyntax("repeat(1, 2em (subgrid) 10px)"); |
| 99 testInvalidSyntax("repeat(1, 2em (middle subgrid) 10px)"); |
94 // Nesting is no allowed. | 100 // Nesting is no allowed. |
95 testInvalidSyntax("repeat(2, repeat(1, auto))"); | 101 testInvalidSyntax("repeat(2, repeat(1, auto))"); |
96 </script> | 102 </script> |
97 </body> | 103 </body> |
98 </html> | 104 </html> |
OLD | NEW |