WPT
wpt / css / css-backgrounds / parsing / box-shadow-valid.html
Spec: CSS Backgrounds ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-f994f (wpt@b89af32bc, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 38/38 | 38/38 | 38/38 | 38/38 | 38/38 | 38/38 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['box-shadow'] = "none" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "1px 2px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "red 1px 2px 3px -4px inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 1px 2px red" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "1px -2px inset, red -3px 4px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 1px -2px, -3px 4px red" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px 4px green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green -4px 4px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "-4px 4px 0 green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green -4px 4px 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "-4px 4px 0 0 green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green -4px 4px 0 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 0 inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px 0 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px green inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px inset green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset green 4px -4px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green inset 4px -4px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green 4px -4px inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset green 4px -4px 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green inset 4px -4px 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 green inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 inset green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green 4px -4px 0 inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px 0 green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset green 4px -4px 0 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green inset 4px -4px 0 0" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 0 green inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "4px -4px 0 0 inset green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "green 4px -4px 0 0 inset" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "inset 4px -4px 0 0 green" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "1px 1px calc(-1px)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['box-shadow'] = "1px 1px calc(1em - 2px)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |