WPT
wpt / css / css-cascade / revert-rule-basic.html
Spec: CSS Cascading ↗
Runs: Chrome 155.0.8042.0 (wpt@0588f3896, 2026-09-04) | Firefox 157.0a1 (wpt@0588f3896, 2026-09-04) | Safari 251 preview (wpt@0588f3896, 2026-09-04) | Ladybird 1.0-b1af2 (wpt@0588f3896, 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 | 4/4 | 4/4 | 4/4 | 0/4 | 4/4 | 4/4 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| The revert-rule keyword rolls back to the previous rule | PASS | PASS | PASS | FAIL | PASS | PASS |
| Cascade order determines the previous rule, not order of appearance | PASS | PASS | PASS | FAIL | PASS | PASS |
| Reverting from style attribute reverts to regular rules | PASS | PASS | PASS | FAIL | PASS | PASS |
| A chain of revert-rule works | PASS | PASS | PASS | FAIL | PASS | PASS |