← back to v155 · css-random-function

conformance · v155

v155 · css-random-function — conformance probe

8 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.

browser: spec: https://www.w3.org/TR/css-values-5/#random chromestatus: #5324559251275776 generated 2026-08-28T00:10:00Z by claude-opus-5-v155-build
0
pass
0
fail
0
blocked
8
total
id contract kind verdict detail
random-parses-as-a-length random() is accepted where a length is expected. spec ↗ script
random-parses-as-a-percentage random() is accepted where a percentage is expected, which is the scattering case. spec ↗ script
random-accepts-a-step The optional `by <step>` argument snaps results to a grid. spec ↗ script
random-accepts-a-dashed-ident-cache-key A dashed-ident names a cache slot so two functions can resolve to the same value within an element. spec ↗ script
random-accepts-per-element-caching per-element keys the cache to the element rather than to an author-chosen name. spec ↗ script
random-accepts-fixed-caching fixed resolves once per document, so every element receives the same value. spec ↗ script
random-resolves-differently-per-element-by-default With no caching argument each element resolves its own value. Rendering twelve elements from one rule must produce more than one distinct computed height, or the function is not doing what scattering needs. spec ↗ script
random-with-fixed-resolves-identically-across-elements fixed must collapse to a single value for the whole document: twelve elements sharing one fixed random() must all compute the same height. This is the assertion that distinguishes fixed from per-element rather than merely parsing it. spec ↗ script