WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
308604
[css-cascade] Implement revert-rule CSS keyword
https://bugs.webkit.org/show_bug.cgi?id=308604
Summary
[css-cascade] Implement revert-rule CSS keyword
Tim Nguyen (:ntim)
Reported
2026-02-24 19:17:06 PST
https://drafts.csswg.org/css-cascade-5/#revert-rule-keyword
The revert-rule CSS-wide keyword rolls back the cascade similar to revert and revert-layer, except it works by style rule rather than cascade origin or cascade layer. If the cascaded value of a property is the revert-rule keyword, the cascaded value is rolled back such that the specified value is calculated as if the current style rule had not been present at all. The revert-rule keyword behaves like revert-layer in the animation origin.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-02-24 19:17:12 PST
<
rdar://problem/171132753
>
Tim Nguyen (:ntim)
Comment 2
2026-02-24 19:29:50 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59390
Tim Nguyen (:ntim)
Comment 3
2026-02-25 15:14:11 PST
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/58058
Antti Koivisto
Comment 4
2026-03-05 03:28:11 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59973
EWS
Comment 5
2026-03-05 11:29:51 PST
Committed
308733@main
(cdf824701b8c): <
https://commits.webkit.org/308733@main
> Reviewed commits have been landed. Closing PR #59973 and removing active labels.
Antti Koivisto
Comment 6
2026-03-22 10:00:15 PDT
Submitted web-platform-tests pull request:
https://github.com/web-platform-tests/wpt/pull/58666
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug