[webkit-changes] [WebKit/WebKit] 553dba: [IFC][Ruby] Multiline annotation content does not ...

Alan Baradlay noreply at github.com
Sun Oct 29 09:41:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 553dbacabc63479af7db7a89951d9a9349c26917
      https://github.com/WebKit/WebKit/commit/553dbacabc63479af7db7a89951d9a9349c26917
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-10-29 (Sun, 29 Oct 2023)

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

  Log Message:
  -----------
  [IFC][Ruby] Multiline annotation content does not get justified after line break
https://bugs.webkit.org/show_bug.cgi?id=263842

Reviewed by Antti Koivisto.

Move forced line break check from Line to LineBuilder to be able to force justify annotation box content (also this is where this check should have been the first place).

* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::applyRunExpansion):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::placeInlineAndFloatContent):

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




More information about the webkit-changes mailing list