[webkit-changes] [WebKit/WebKit] 7ed26d: During the rewrite animation, lines of text clip t...

megangardner noreply at github.com
Wed Jul 31 07:49:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ed26de67bebfc653f7849172055c8510f329b49
      https://github.com/WebKit/WebKit/commit/7ed26de67bebfc653f7849172055c8510f329b49
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/TextAnimationController.mm

  Log Message:
  -----------
  During the rewrite animation, lines of text clip together and look bad.
https://bugs.webkit.org/show_bug.cgi?id=277387
rdar://131091868

Reviewed by Wenson Hsieh.

We need to not set the flag that uses the selection rects for determining
the text lines since it coalesces the lines of the same width together, and
gives us different information that what we want to run this animation.

* Source/WebKit/WebProcess/WebPage/Cocoa/TextAnimationController.mm:
(WebKit::TextAnimationController::addInitialTextAnimation):
(WebKit::TextAnimationController::createTextIndicatorForRange):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list