Skip to content
Skip the list of specifications

css/css-sizing/contain-intrinsic-size/parsing/

contain-intrinsic-size-valid.html

Passes: all 27 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

A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.

AssertionExpectedGotVerdict
e.style['contain-intrinsic-size'] = "none" should set the property valuePasses
e.style['contain-intrinsic-size'] = "1px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "2em 3px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "5px 5px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "none none" should set the property valuePasses
e.style['contain-intrinsic-size'] = "1px none" should set the property valuePasses
e.style['contain-intrinsic-size'] = "none 1px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "auto 1px 1px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "1px auto 1px" should set the property valuePasses
e.style['contain-intrinsic-size'] = "auto 1px auto 1px" should set the property valuePasses
e.style['contain-intrinsic-width'] = "none" should set the property valuePasses
e.style['contain-intrinsic-width'] = "1px" should set the property valuePasses
e.style['contain-intrinsic-width'] = "2em" should set the property valuePasses
e.style['contain-intrinsic-width'] = "auto 1px" should set the property valuePasses
e.style['contain-intrinsic-height'] = "none" should set the property valuePasses
e.style['contain-intrinsic-height'] = "1px" should set the property valuePasses
e.style['contain-intrinsic-height'] = "2em" should set the property valuePasses
e.style['contain-intrinsic-height'] = "auto 1px" should set the property valuePasses
e.style['contain-intrinsic-inline-size'] = "none" should set the property valuePasses
e.style['contain-intrinsic-inline-size'] = "1px" should set the property valuePasses
e.style['contain-intrinsic-inline-size'] = "2em" should set the property valuePasses
e.style['contain-intrinsic-inline-size'] = "auto 1px" should set the property valuePasses
e.style['contain-intrinsic-block-size'] = "none" should set the property valuePasses
e.style['contain-intrinsic-block-size'] = "1px" should set the property valuePasses
e.style['contain-intrinsic-block-size'] = "2em" should set the property valuePasses
e.style['contain-intrinsic-block-size'] = "auto 1px" should set the property valuePasses
e.style['contain-intrinsic-block-size'] = "auto none" should set the property valuePasses

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