Instantiation of AnimationEvent and TransitionEvent using Document.createEvent is no longer allowed

Published: | Categories: DOM

Description

The support for obsolete document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent has been removed. Only the standard constructors, AnimationEvent and TransitionEvent are now allowed.

References