[webkit-changes] [WebKit/WebKit] 1c874d: [IFC][hanging punctuation] Line::appendTextContent...

Alan Baradlay noreply at github.com
Wed Dec 21 11:14:44 PST 2022


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

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
    M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h

  Log Message:
  -----------
  [IFC][hanging punctuation] Line::appendTextContent should call setTrailingStopOrComma when it sees one
https://bugs.webkit.org/show_bug.cgi?id=249696

Reviewed by Antti Koivisto.

This is in preparation for supporting "hanging-punctuation: allow-end".

* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendTextContent):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::hasHangableStopOrCommaEnd):
(WebCore::Layout::TextUtil::hangableStopOrCommaEndWidth):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:

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




More information about the webkit-changes mailing list