[webkit-changes] [WebKit/WebKit] f34f78: [IFC][Cleanup] TextOnlySimpleLineBuilder should us...

Alan Baradlay noreply at github.com
Thu Mar 21 13:59:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f34f78ad74246f5c88c20c3c31146d521de34979
      https://github.com/WebKit/WebKit/commit/f34f78ad74246f5c88c20c3c31146d521de34979
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

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

  Log Message:
  -----------
  [IFC][Cleanup] TextOnlySimpleLineBuilder should use rootStyle()
https://bugs.webkit.org/show_bug.cgi?id=271393

Reviewed by Antti Koivisto.

rootStyle() already returns the line appropriate style.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::adjustedLineRectWithCandidateInlineContent const):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::TextOnlySimpleLineBuilder):
(WebCore::Layout::TextOnlySimpleLineBuilder::layoutInlineContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::placeInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::placeNonWrappingInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::commitCandidateContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::handleLineEnding):
(WebCore::Layout::TextOnlySimpleLineBuilder::revertToTrailingItem):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list