Skip to content
Skip the list of specifications

css/css-values/

clamp-integer-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

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

AssertionExpectedGotVerdict
e.style['z-index'] = "clamp(10, -none, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, none, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, 15 + none, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(none + 10, 15, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(none / 10, 15, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(-none, 15, 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(-none, -none, -none)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, abs(none), 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, 15, abs(none))" should not set the property valuePasses
e.style['z-index'] = "clamp(10, abs(none + 15), 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, sign(none), 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, sign(none + 1), 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, progress(none, none, none), 20)" should not set the property valuePasses
e.style['z-index'] = "clamp(10, progress(none + 1, none + 1, none + 1), 20)" should not set the property valuePasses

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