css/css-grid/parsing/
grid-template-columns-computed-withcontent.html
Passes: all 30 assertions match; 1 more could not be judged
A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.
| Why some could not be judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property grid-template-columns value 'none' | 300px | 300px | Passes |
Property grid-template-columns value '20%' | 60px | 60px | Passes |
Property grid-template-columns value 'calc(-0.5em + 10px)' | 0px | 0px | Passes |
Property grid-template-columns value 'calc(0.5em + 10px)' | 30px | 30px | Passes |
Property grid-template-columns value 'calc(30% + 40px)' | 130px | 130px | Passes |
Property grid-template-columns value '5fr' | 300px | 300px | Passes |
Property grid-template-columns value 'min-content' | 30px | 30px | Passes |
Property grid-template-columns value 'max-content' | 30px | 30px | Passes |
Property grid-template-columns value 'auto' | 300px | 300px | Passes |
Property grid-template-columns value 'minmax(10px, auto)' | 300px | 300px | Passes |
Property grid-template-columns value 'minmax(20%, max-content)' | 60px | 60px | Passes |
Property grid-template-columns value 'minmax(min-content, calc(-0.5em + 10px))' | 30px | 30px | Passes |
Property grid-template-columns value 'minmax(auto, 0)' | 30px | 30px | Passes |
Property grid-template-columns value 'fit-content(70px)' | 30px | 30px | Passes |
Property grid-template-columns value 'fit-content(20%)' | 30px | 30px | Passes |
Property grid-template-columns value 'fit-content(calc(-0.5em + 10px))' | 30px | 30px | Passes |
Property grid-template-columns value 'repeat(1, 10px)' | 10px | 10px | Passes |
Property grid-template-columns value 'repeat(1, [one two] 20%)' | [one two] 60px | [one two] 60px | Passes |
Property grid-template-columns value 'repeat(2, minmax(10px, auto))' | 160px 140px | 160px 140px | Passes |
Property grid-template-columns value 'repeat(2, fit-content(20%) [three four] 30px 40px [five six])' | 30px [three four] 30px 40px [five six] 0px [three four] 30px 40px [five six] | 30px [three four] 30px 40px [five six] 0px [three four] 30px 40px [five six] | Passes |
Property grid-template-columns value 'min-content repeat(5, minmax(10px, auto))' | 30px 54px 54px 54px 54px 54px | 30px 54px 54px 54px 54px 54px | Passes |
Property grid-template-columns value '[] 150px [] 1fr []' | 150px 150px | 150px 150px | Passes |
Property grid-template-columns value 'repeat(auto-fill, 200px)' | 200px | 200px | Passes |
Property grid-template-columns value 'repeat(auto-fit, [one] 20%)' | [one] 60px [one] 0px [one] 0px [one] 0px [one] 0px | [one] 60px [one] 0px [one] 0px [one] 0px [one] 0px | Passes |
Property grid-template-columns value 'repeat(auto-fill, minmax(100px, 5fr) [two])' | 100px [two] 100px [two] 100px [two] | 100px [two] 100px [two] 100px [two] | Passes |
Property grid-template-columns value 'repeat(auto-fit, [three] minmax(max-content, 6em) [four])' | [three] 240px [four] | [three] 240px [four] | Passes |
Property grid-template-columns value '[a] 21px [b] repeat(auto-fill, [c] 22px [d] 23px [e]) [f] 24px [g]' | [a] 21px [b c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e f] 24px [g] | [a] 21px [b c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e c] 22px [d] 23px [e f] 24px [g] | Passes |
Property grid-template-columns value '[a] 21px [b c] repeat(auto-fill, [d e] 22px [f g h] 23px [i j k l]) [m n] 24px [o]' | [a] 21px [b c d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l m n] 24px [o] | [a] 21px [b c d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l d e] 22px [f g h] 23px [i j k l m n] 24px [o] | Passes |
Property grid-template-columns value '[a] repeat(2, [b] 20px [c d] 21px [e f g]) [h i] repeat(auto-fit, [j] 22px [k l m] 23px [n o p q]) [r s]' | [a b] 20px [c d] 21px [e f g b] 20px [c d] 21px [e f g h i j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q r s] | [a b] 20px [c d] 21px [e f g b] 20px [c d] 21px [e f g h i j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q j] 0px [k l m] 0px [n o p q r s] | Passes |
Property grid-template-columns value '[one] repeat(2, minmax(50px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(200px, auto)) [six]' | [one] 50px 50px [two] 30px [three] 10px 40px [four five] 200px 200px [six] | [one] 50px 50px [two] 30px [three] 10px 40px [four five] 200px 200px [six] | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.