css/css-values/
clamp-color-computed.html
Passes: all 15 assertions match; 1 more could not be judged
A parsing and computed-value check: each value the parser must accept or reject, and what it computes to.
| Why some could not be judged | Assertions |
|---|---|
| No assertion with written values to accept or reject | 1 |
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.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
Property color value 'rgb(clamp(10, 20, 30) 0 0)' | Passes | ||
Property color value 'rgb(clamp(none, 30, 33) 0 0)' | Passes | ||
Property color value 'rgb(clamp(none, 33, 30) 0 0)' | Passes | ||
Property color value 'rgb(clamp(30, 33, none) 0 0)' | Passes | ||
Property color value 'rgb(clamp(33, 30, none) 0 0)' | Passes | ||
Property color value 'rgb(clamp(none, 30, none) 0 0)' | Passes | ||
Property color value 'rgb(from red clamp(r, 30, 300) g b)' | Passes | ||
Property color value 'rgb(from red clamp(30, 300, r) g b)' | Passes | ||
Property color value 'rgb(from red clamp(3, r, 300) g b)' | Passes | ||
Property color value 'rgb(from red clamp(3, r, r + 30) g b)' | Passes | ||
Property color value 'rgb(from red clamp(r - 30, r, 300) g b)' | Passes | ||
Property color value 'rgb(from red clamp(3, r, none) g b)' | Passes | ||
Property color value 'rgb(from red clamp(r, 30, none) g b)' | Passes | ||
Property color value 'rgb(from red clamp(none, r, 300) g b)' | Passes | ||
Property color value 'rgb(from red clamp(none, r, r + 30) g b)' | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.