Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e311b7b2adbd99a79c7a32debd817d085995029e
      
https://github.com/WebKit/WebKit/commit/e311b7b2adbd99a79c7a32debd817d085995029e
  Author: Alan Baradlay <[email protected]>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M 
LayoutTests/platform/mac/fast/text/letter-spacing-negative-opacity-expected.txt
    M LayoutTests/platform/mac/fast/text/text-letter-spacing-expected.txt
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp

  Log Message:
  -----------
  (REGRESSION) First letter of URL is cropped off in X (Twitter) timeline
https://bugs.webkit.org/show_bug.cgi?id=268512
<rdar://121891210>

Reviewed by Antti Koivisto.

Custom font reports negative advance width for '/' character. We incorrectly 
offset adjacent inline content producing cropped rendering.

* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::width):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to