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

Side by Side Diff: LayoutTests/fast/css-grid-layout/non-grid-element-repeat-get-set.html

Issue 179383003: [CSS Grid Layout] Disallow using <ident> and function names as <custom-ident> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 .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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698