WPT
wpt / css / css-values / random-invalid.tentative.html
Spec: CSS Values ↗
Runs: Chrome 155.0.8039.0 (wpt@a4fcd77aa, 2026-09-03) | Firefox 157.0a1 (wpt@cc4d45aa0, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 39/39 | 39/39 | 39/39 | 39/39 | 39/39 | 39/39 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['width'] = "random()" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random( )" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(,)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px, )" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(,1px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px,2px,)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px,2px,1px,)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px,2px,1px foo)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(foo, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(\"foo\", 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(\"--foo\", 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(element-shared foo, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(element-shared 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(1px, 2px, 1px, element-shared)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(--foo --bar, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed 0.5 element-shared, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed 0.5 auto, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed 0.5 --foo, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed 0.5px, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed 0.5%, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(fixed -1, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(10deg, 20deg)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(element-scoped --foo --bar, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(element-scoped uawidth, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(foo element-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(element-scoped 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(--foo element-scoped element-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-scoped --foo ua-width, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-scoped ua-width-1, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(--foo element-scoped property-scoped element-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(foo property-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-scoped 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-scoped property-index-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-index-scoped --foo property-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-index-scoped ua-width-1, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(foo property-index-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-index-scoped 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['width'] = "random(property-index-scoped property-scoped, 1px, 2px)" should not set the property value | PASS | PASS | PASS | PASS | PASS | PASS |