Skip to content
Skip the list of specifications

css/css-grid/parsing/

grid-shorthand-valid.html

Passes: all 49 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'] = "none" should set the property valueacceptedacceptedPasses
e.style['grid'] = "none / none" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto / auto" should set the property valueacceptedacceptedPasses
e.style['grid'] = "none / [a] 0px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "none / [] 0px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] 10px / auto" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] 10px / none" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[] 10px [] / [] auto []" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\" 10px []" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[] \"a\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\" 10px [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" auto" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a a a\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" / 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" / 20%" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" / 5fr" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\" [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[] \"a\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [] [] \"b\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [] \"b\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] [b] \"b\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] \"b\"" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" / 0" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" 10px / 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] \"b\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] \"b\" 10px [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] [a] \"b\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] [] \"b\" 10px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" 10px [a] \"b\" [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] \"b\" [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "[a] \"a\" [a] \"b\" [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" \"a\" [a] \"b\" [a]" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" [a] \"b\" [a] / 0" should set the property valueacceptedacceptedPasses
e.style['grid'] = "\"a\" \"a\" [a] [a] \"b\" / auto" should set the property valueacceptedacceptedPasses
e.style['grid'] = "100px / auto-flow dense 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto-flow dense 1fr / 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "100px / dense auto-flow 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "dense auto-flow 1fr / 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "100px / auto-flow 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto-flow 1fr / 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "none / auto-flow 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto-flow 1fr / none" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto / auto-flow 100px" should set the property valueacceptedacceptedPasses
e.style['grid'] = "auto-flow 1fr / auto" should set the property valueacceptedacceptedPasses
e.style['grid'] = "1fr / 1fr" should set the property valueacceptedacceptedPasses

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