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

Ah, I just thought about it and can see why `revert-rule` makes sense. It reverts the property's value to whatever the previous _rule_ that matches sets it to, kinda like how `revert-layer` reverts it to what the @layer below the current one sets it to.

Still, I wonder if a simpler keyword like `cancel` would make more sense, because it's basically used to cancel the current declaration, right?

-- 
GitHub Notification of comment by benface
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10443#issuecomment-2683046325 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 19:23:15 UTC