Update caret animator logic
radar://109174040
Pull request: https://github.com/WebKit/WebKit/pull/13727
Committed 264023@main (6adf3d29d4b6): <https://commits.webkit.org/264023@main> Reviewed commits have been landed. Closing PR #13727 and removing active labels.