[webkit-changes] [WebKit/WebKit] a79079: [IFC][hanging punctuation] LineBuilder::leadingPun...

Alan Baradlay noreply at github.com
Thu Dec 22 09:42:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a790799aa36dc54e3b8840c7e06558ce73181665
      https://github.com/WebKit/WebKit/commit/a790799aa36dc54e3b8840c7e06558ce73181665
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  [IFC][hanging punctuation] LineBuilder::leadingPunctuationWidthForLineCandiate/trailingPunctuationWidthForLineCandiate should only start searching for contentful runs when punctuation is present
https://bugs.webkit.org/show_bug.cgi?id=249697

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::leadingPunctuationWidthForLineCandiate const):
(WebCore::Layout::LineBuilder::trailingPunctuationWidthForLineCandiate const):

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




More information about the webkit-changes mailing list