[webkit-changes] [WebKit/WebKit] 388c80: [IFC] Move hyphen location logic to a dedicated fu...

Alan Baradlay noreply at github.com
Tue May 23 06:08:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 388c80f921286a299be3fcb7b570f3b0b458ba5d
      https://github.com/WebKit/WebKit/commit/388c80f921286a299be3fcb7b570f3b0b458ba5d
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

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

  Log Message:
  -----------
  [IFC] Move hyphen location logic to a dedicated function
https://bugs.webkit.org/show_bug.cgi?id=257104

Reviewed by Antti Koivisto.

This is in preparation for using it across multiple (yet disconnected) inline text item.
(e.g. out-of-flow content in-between text)

* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::hyphenPosition):
(WebCore::Layout::InlineContentBreaker::tryBreakingTextRun const):
* Source/WebCore/layout/formattingContexts/inline/InlineTextItem.h:
(WebCore::Layout::InlineTextItem::operator StringView const):

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




More information about the webkit-changes mailing list