WPT
wpt / css / css-mixins / functions / function-shadow.html
Spec: CSS Functions and Mixins ↗
Runs: Chrome 155.0.8042.0 (wpt@4eb09bcd9, 2026-09-04) | Firefox 157.0a1 (wpt@c3fcbf4ba, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@a1ecd0c09, 2026-09-04) | 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 | 11/11 | 0/11 | 11/11 | 8/11 | 0/11 | 0/11 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| @function works inside shadow | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| Looking up document-global function | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| @function works inside nested shadow | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| @function defined in outer shadow is visible | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| Combining functions from various scopes | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| ::part() can not see inner functions | PASS | FAIL | PASS | FAIL | FAIL | FAIL |
| ::slotted() can see inner functions | PASS | FAIL | PASS | FAIL | FAIL | FAIL |
| :host can see inner functions | PASS | FAIL | PASS | FAIL | FAIL | FAIL |
| Outer functions can't see inner functions | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| Outer functions can't see inner functions (local vars) | PASS | FAIL | PASS | PASS | FAIL | FAIL |
| Function with same name in different scopes | PASS | FAIL | PASS | PASS | FAIL | FAIL |