Primary eng (and PM) emails
Summary
Deprecate and remove WebKitAnimationEvent interface. WebKitAnimationEvent is the prefixed version of AnimationEvent. AnimationEvent is the event interface used for events relating to CSS Animations (e.g. animationstart).
The ability to create WebKitAnimationEvent from document.createEvent was removed last year, and WebKitAnimationEvent has been an alias of AnimationEvent for a long time (multiple years):
> window.WebKitAnimationEvent
ƒ AnimationEvent() { [native code] }
The only remaining way a web developer can interact with WebKitAnimationEvent is to access it via window, to either check it exists or to create an event from it. It makes no sense for a web developer to manually create such an event (that I am aware).
I would prefer to remove immediately (targeting M71), but would also be happy to land a deprecation warning for M71 and remove in M72.
Motivation
WebKitAnimationEvent has been fully replaced by AnimationEvent. The prefixed form is only supported in Safari. Firefox and Edge only support the un-prefixed AnimationEvent.
Interoperability and Compatibility Risk
Hopefully low, when viewed with some careful reasoning :). The UseCounter is high, at ~2.9% of the web. However, I believe most uses are either browser or support detection.
An analysis of HTTP Archive for this feature shows 744 hits for WebKitAnimationEvent appearing in a response body. Breaking them down showed:
Edge: WebKitAnimationEvent is not supported. AnimationEvent is supported.
Firefox: WebKitAnimationEvent is not supported. AnimationEvent is supported.
Safari: WebKitAnimationEvent is supported. AnimationEvent is supported.
Alternative implementation suggestion for web developers
Developers should use the standardized AnimationEvent interface.
Usage information from UseCounter
See Interoperability and Compatibility Risk above.
Entry on the feature dashboard
https://www.chromestatus.com/feature/6027726842494976
Requesting approval to remove too?
Yes; would like to immediately remove for M71 but otherwise M72.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADY3MadKRqFxbkGRF_chG8RTYTSajbTp0JnoVxyjPDUUPB32YA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADY3MafQUqWiZeQdxfsCJf4EL91DndKiwqWXDUBfcgExrYYfng%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYeTYfHcA%2Br%2BUTFuMR%3D%2BoU4a38kC4nOhnKLv3PQMJ-q0Xw%40mail.gmail.com.
aw_mobile/navigation.js has many if ($j.support.WebKitAnimationEvent), so I am not worried about that one.(I went over this one - http://www.eternitycenter.com/js/aw_mobile/navigation.js)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABc02_%2BBW-R6WnyYhk9PGVO6bMPHFs8c-gsX_aGxZNR9p%2BiyLA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfkuHuCy6d5FBvYU6mHi3Tqz%2B8-jYU%2BDUC-26g-P9AJaA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw-%3DXdn-9hW5rAUL661ZsVv1J-yEjXm-_To5QNRdhzS7Qg%40mail.gmail.com.