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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['contain'] = "auto" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "layout layout" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "strict layout" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "paint strict" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "paint layout style paint" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "none none" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "none strict" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "strict strict" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "strict none" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "strict content" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "size layout size" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "paint content" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "size inline-size" should not set the property value | rejected | rejected | Passes |
e.style['contain'] = "inline-size inline-size" should not set the property value | rejected | rejected | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.