[webkit-changes] [WebKit/WebKit] 82d410: [IFC] Move line ending policy logic to InlineForma...

Alan Baradlay noreply at github.com
Thu Feb 9 16:26:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82d41016a28c3a999b03b1aa7ed12ea0a1d3b650
      https://github.com/WebKit/WebKit/commit/82d41016a28c3a999b03b1aa7ed12ea0a1d3b650
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

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

  Log Message:
  -----------
  [IFC] Move line ending policy logic to InlineFormattingContext::createDisplayContentForLine
https://bugs.webkit.org/show_bug.cgi?id=251992

Reviewed by Antti Koivisto.

Let's try to keep InlineFormattingContext::lineLayout short and clean.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
(WebCore::Layout::lineEndingEllipsisPolicy):
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLine):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:

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




More information about the webkit-changes mailing list