Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf372e3f2725a42fee1d4316447604bfb67c209f
      
https://github.com/WebKit/WebKit/commit/cf372e3f2725a42fee1d4316447604bfb67c209f
  Author: Richard Robinson <[email protected]>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
    M Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.h
    M Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.mm
    M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
    M Source/WebKit/UIProcess/PageClient.h
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/mac/WKTextAnimationManager.mm

  Log Message:
  -----------
  [Writing Tools] Rewrite animation may sometimes never finish on the latter 
part of text content
https://bugs.webkit.org/show_bug.cgi?id=278471
rdar://134317347

Reviewed by Aditya Keerthi.

It's valid for Writing Tools to complete a replacement without replacing the 
entire context range;
currently, in this case, the initial animation for the part of the context 
range that is never replaced
never ends.

Fix by not adding the initial animation in the first place if the replacement 
is finished, since there
is nothing left to subsequently be replaced.

* Source/WebKit/UIProcess/mac/WKTextAnimationManager.mm:
(-[WKTextAnimationManager addTextAnimationForAnimationID:withData:]):

Canonical link: https://commits.webkit.org/282640@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to