Tests element removal and hiding in webkitTransitionEnd event handler. Should not crash.