Skip to content
Skip the list of specifications

css/css-box/parsing/

max-height-invalid.html

Passes: all 12 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['max-height'] = "complex" should not set the property valuePasses
e.style['max-height'] = "auto" should not set the property valuePasses
e.style['max-height'] = "none available" should not set the property valuePasses
e.style['max-height'] = "max-content 10px" should not set the property valuePasses
e.style['max-height'] = "20% available" should not set the property valuePasses
e.style['max-height'] = "-10px" should not set the property valuePasses
e.style['max-height'] = "-20%" should not set the property valuePasses
e.style['max-height'] = "60" should not set the property valuePasses
e.style['max-height'] = "10px 20%" should not set the property valuePasses
e.style['max-height'] = "content-box border-box" should not set the property valuePasses
e.style['max-height'] = "10px border-box 20%" should not set the property valuePasses
e.style['max-height'] = "content-box 20% border-box" should not set the property valuePasses

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