Improve ShouldUpdateAnimationsAndSendEvents enumeration.
Pull request: https://github.com/WebKit/WebKit/pull/11845
Committed 262006@main (e049610fbafb): <https://commits.webkit.org/262006@main> Reviewed commits have been landed. Closing PR #11845 and removing active labels.
<rdar://problem/107117337>