Revert "Merge pull request #19372 from alivedise/bugzilla/950673_master/...

...delayed-animationend-statechange_v2"

This reverts commit 62e4c86931593fcd913b91de19f76edb75078412, reversing
changes made to 7c55cc2baabc2d66d512768e79b9cbc67bb83040.