- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Mon, 08 Sep 2025 19:56:26 +0000
- To: public-css-archive@w3.org
Improving https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-1569033374, now that #10443 added `revert-rule` and Blink is implementing it, it will be possible to just do
```css
div {
background: cyan;
}
div#foo {
background: url("image") 10px 10px / 20px 20px no-repeat fixed border-box content-box;
background-color: revert-rule; /* Reverts to cyan */
}
```
No need to add layers nor expand into longhands manually to avoid overriding the color.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-3267736296 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 8 September 2025 19:56:27 UTC