Skip to content
Skip the list of specifications

css/css-grid/parsing/

grid-template-columns-valid.html

Passes: all 34 assertions match

A parsing check: each value the parser must accept or reject.

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.

AssertionExpectedGotVerdict
e.style['grid-template-columns'] = "none" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "10px" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "20%" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "calc(-0.5em + 10px)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "calc(0.5em + 10px)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "calc(30% + 40vw)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "5fr" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "min-content" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "max-content" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "auto" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(10px, auto)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(20%, max-content)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(calc(-0.5em + 10px), min-content)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(calc(0.5em + 10px), 5fr)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(calc(30% + 40vw), 10px)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(min-content, 20%)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(max-content, calc(-0.5em + 10px))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "minmax(auto, calc(0.5em + 10px))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "fit-content(10px)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "fit-content(20%)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "fit-content(calc(-0.5em + 10px))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "fit-content(calc(0.5em + 10px))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "fit-content(calc(30% + 40vw))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(1, [] 10px [])" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(1, [one two] 20%)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(2, minmax(10px, auto))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(2, fit-content(20%) [three four] 30px 40px [five six])" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "min-content repeat(5, minmax(10px, auto))" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "[] 150px [] 1fr []" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(auto-fill, 10px)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(auto-fit, [one] 20%)" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(auto-fill, minmax(30px, 5fr) [two])" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "repeat(auto-fit, [three] minmax(max-content, 6em) [four])" should set the property valueacceptedacceptedPasses
e.style['grid-template-columns'] = "[one] repeat(2, minmax(10px, auto)) [two] 30px [three] repeat(auto-fill, 10px) 40px [four five] repeat(2, minmax(10px, auto)) [six]" should set the property valueacceptedacceptedPasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.