- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 11 Nov 2020 15:59:41 +0000
- To: public-css-archive@w3.org
> `var(color)` would not follow animation on `color` property as it's resolved on computed time
@upsuper Not sure if I get it, you make it sound as if animations are done after finding the computed value, but actually animations are part of the cascade, and affect the computed value. I think `var(color)` should basically work as `var(--color)` with
```css
@property --color {
syntax: "<color>";
inherits: true;
initial-value: CanvasText;
}
```
and in Chromium `var(--color)` follows animation on `--color` just fine: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/8680
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5292#issuecomment-725505793 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 November 2020 15:59:43 UTC