In this example[1], when an element has a transition on the color property only, changing that property also causes a transition in any other properties using currentColor in Firefox and Chrome et al. Notably, this cannot be disabled by specifying that property with a duration of 0s - it can only be disabled by changing that property to a value other than currentColor. IE and Microsoft Edge apply the change to those properties without a transition unless they are specified in transition-property. This is the behavior I expect, but whose behavior is correct? [1]: https://jsfiddle.net/kpk5debr/ div { color: cyan; border: 10px solid; transition: color 3s; } div:hover { color: magenta; } -- Daniel Tan NOVALISTIC <http://NOVALISTIC.com>Received on Friday, 8 January 2016 17:21:30 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC