Re: [csswg-drafts] [css-color-5] Add `currentBackgroundColor` Variable (#5292)

> `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

@property --color {
  syntax: "<color>";
  inherits: true;
  initial-value: CanvasText;

and in Chromium `var(--color)` follows animation on `--color` just fine:

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Wednesday, 11 November 2020 15:59:43 UTC