← back to v139 · css-custom-functions
conformance · v139
v139 · css-custom-functions — conformance probe
10 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
10
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
function-at-rule-supported |
The @function at-rule is recognized by the CSS parser. spec ↗ | css-supports | … | |
custom-function-call-syntax |
A dashed custom function can be called inside a property value. spec ↗ | css-supports | … | |
typed-return-serializes |
A custom function with typed parameters and returns <color> serializes through CSSOM. spec ↗ | script | … | |
custom-function-computes-color |
A valid custom function call computes to a non-transparent color. spec ↗ | script | … | |
default-parameter-is-used |
Omitting an argument uses the function parameter's default value. spec ↗ | script | … | |
typed-color-argument-rejects-length |
Passing a <length> to a <color> parameter rejects the custom function result. spec ↗ | script | … | |
call-site-custom-property-resolves |
A function body can read a custom property from the call site with var(). spec ↗ | script | … | |
nested-custom-function-call-computes |
A custom function can call another custom function and return its computed value. spec ↗ | script | … | |
zero-percent-boundary-computes |
A 0% percentage argument remains a valid boundary value. spec ↗ | script | … | |
alpha-number-parameter-computes |
A <number> parameter can drive an alpha channel in the function result. spec ↗ | script | … |