Re: [csswg-drafts] [css-cascade][css-syntax] New `!revertable` flag to mark a declaration as "can be reverted when IACVT" (#10443)

So if I'm understanding it right, in this example:
```css
button {
  background-color: red;
  --maybe-revert: revert-rule;
}

button:hover {
  --maybe-revert: dont-actually-revert;
}
```
The button's background color would be red on hover only?

-- 
GitHub Notification of comment by benface
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10443#issuecomment-2683344609 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 February 2025 21:32:29 UTC