- From: Shaw Jia via GitHub <sysbot+gh@w3.org>
 - Date: Thu, 10 Oct 2024 18:37:36 +0000
 - To: public-css-archive@w3.org
 
How would the `!revertable` work with custom properties, if at all?
I imagine registered custom property would force variable resolution during type checking, so below should work right?
```css
.example {
  --registered: revert to this value;
  --IACVT: max(invalid);
  --registered: var(--IACVT) !revertable;
}
@property --registered {
  syntax: "<number>";
  inherits: false;
  initial-value:0;
}
```
What about unregistered custom property?
Would the presence of the `!revertable` force the variable to resolve in order to check for IACVT?
```css
.example {
  --unregistered: revert to this value;
  --IACVT: max(invalid);
  --unregistered: var(--IACVT) !revertable;
}
```
-- 
GitHub Notification of comment by miragecraft
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10443#issuecomment-2405794741 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 10 October 2024 18:37:37 UTC