css/css-values/
random-serialize.tentative.html
Fails: 69 of 71 assertions match, 2 do not
A parsing check: each value the parser must accept or reject.
Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi
Each assertion
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['transition-delay'] = "random(25ms, 50s)" should set the property value | accepted | rejected | Fails |
e.style['transition-delay'] = "random(--foo, 25ms, 50s, 5s)" should set the property value | accepted | rejected | Fails |
e.style['width'] = "random(0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(fixed 0.5, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['height'] = "random(auto, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['font-size'] = "random(property-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['font-size'] = "random(--foo property-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-index-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-index-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped property-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped property-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['height'] = "random(property-scoped element-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['height'] = "random(--foo property-scoped element-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped property-index-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped property-index-scoped, 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-index-scoped element-scoped , 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-index-scoped element-scoped , 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['height'] = "random(0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(fixed 0.5, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(auto, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-index-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-index-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped property-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped property-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-scoped element-scoped , 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-scoped element-scoped , 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped property-index-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped property-index-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(property-index-scoped element-scoped , 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo property-index-scoped element-scoped , 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--\\{ element-scoped, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped ua-\\{, 0px, 100px, 3px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 100px, 0px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, -100px, -10px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, -100px, -10px, -5px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 1em, 200rem)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(10 * 100px, 200em / 2)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo, 10 * 100px, 200em / 2)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(fixed calc(2 / 4), 0px, 100px)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "calc(2 * random(--foo, 0px, 100px))" should set the property value | accepted | accepted | Passes |
e.style['math-depth'] = "add(random(--foo, 0, 3))" should set the property value | accepted | accepted | Passes |
e.style['color'] = "rgb(random(--foo, 0, 255) random(--foo, 0, 255) random(--foo, 0, 255))" should set the property value | accepted | accepted | Passes |
e.style['color'] = "rgb(from blue r g random(--foo, b, (150 + b)))" should set the property value | accepted | accepted | Passes |
e.style['color'] = "color-mix(in srgb, rgb(random(--foo, 0, 255) 0 random(--foo, 0, 255)), rgb(0 random(--foo, 0, 255) 0))" should set the property value | accepted | accepted | Passes |
e.style['max-lines'] = "random(--foo, 25, 50)" should set the property value | accepted | accepted | Passes |
e.style['max-lines'] = "random(--foo, 25, 50, 5)" should set the property value | accepted | accepted | Passes |
e.style['scale'] = "random(--foo, 0.5, 2.5)" should set the property value | accepted | accepted | Passes |
e.style['scale'] = "random(--foo, 0.5, 2.5, 0.1)" should set the property value | accepted | accepted | Passes |
e.style['rotate'] = "random(25deg, 1turn)" should set the property value | accepted | accepted | Passes |
e.style['rotate'] = "random(--foo, 25deg, 1turn, 5deg)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(ua-width, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo ua-width, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(ua-width-1, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo ua-width-1, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(element-scoped ua-height-1, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo element-scoped ua-height-1, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(ua-height-1 element-scoped, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo ua-height-1 element-scoped, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(ua-x, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo ua-x, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(ua-x element-scoped, 10px, 20%)" should set the property value | accepted | accepted | Passes |
e.style['width'] = "random(--foo ua-x element-scoped, 10px, 20%)" should set the property value | accepted | accepted | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.