Skip to content
Skip the list of specifications

css/css-conditional/container-queries/

container-type-parsing.html

Passes: all 30 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['container-type'] = "initial" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "inherit" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "unset" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "revert" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "normal" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "size" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "inline-size" should set the property valueacceptedacceptedPasses
e.style['container-type'] = "none" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "auto" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "block-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "normal normal" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "normal inline-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "inline-size normal" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "inline-size inline-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "inline-size block-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "block-size inline-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "size inline-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "inline-size size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "normal, normal" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "foo" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "\"foo\"" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "foo, bar" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "#fff" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "1px" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "default" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "size nonsense" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "style" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "inline-size style" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "style inline-size" should not set the property valuerejectedrejectedPasses
e.style['container-type'] = "style size" should not set the property valuerejectedrejectedPasses

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