Determine if an element will animate via a CSS3 transition
stackoverflow.com