W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

Re: [csswg-drafts] [css-variables] When does substitution occur, before or after animation interopolation?

From: shans via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Aug 2016 22:03:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-241565569-1471903415-sysbot+gh@w3.org>
I agree with Tab - the animation's variable should be used in 
computation of the style of the div. The fact that --foo is 
animation-tainted doesn't matter (I think Tab's pointing out we 
wouldn't need to bother with animation tainting if animation variables
 couldn't leak into the environment).

I guess what's important is that the animation's variable "wins out" 
over the one defined in the div rule, but this is just normal - e.g. 
imagine if you set background directly in the animation instead.

-- 
GitHub Notification of comment by shans
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/411#issuecomment-241565569 
using your GitHub account
Received on Monday, 22 August 2016 22:03:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC