Skip to content
Skip the list of specifications

css/css-contain/parsing/

contain-invalid.html

Passes: all 14 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['contain'] = "auto" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "layout layout" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "strict layout" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "paint strict" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "paint layout style paint" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "none none" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "none strict" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "strict strict" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "strict none" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "strict content" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "size layout size" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "paint content" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "size inline-size" should not set the property valuerejectedrejectedPasses
e.style['contain'] = "inline-size inline-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.