[csswg-drafts] [css-variables] Animation tainting text doesn't cover the cases where a property references a tainted property

FremyCompany has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-variables] Animation tainting text doesn't cover the cases where a property references a tainted property ==
I don't think the text in the spec covers this example:
```
div { 
 animation: anim 1s infinite alternate; 
 --var: block; --var2: var(--var);
}

div::after {
 content: "abc";
 display: var(--var2);
}

@keyframes anim {
 to { --var: none; }
}
```
https://drafts.csswg.org/css-variables/#substitute-a-var
> If the custom property named by the first argument to the var() function is animation-tainted [...]
> any custom property used in a @keyframes rule becomes animation-tainted, which affects how it is treated when referred to via the var() function in an animation property.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1737 using your GitHub account

Received on Thursday, 17 August 2017 23:51:07 UTC