[webkit-changes] [WebKit/WebKit] 641fce: [IFC] Rename TextOnlyLineBuilder to TextOnlySimple...

Alan Baradlay noreply at github.com
Wed Aug 16 15:07:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 641fcedc36d53caf1e763e129939d9d71489daaa
      https://github.com/WebKit/WebKit/commit/641fcedc36d53caf1e763e129939d9d71489daaa
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
    R Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.cpp
    R Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.h
    A Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
    A Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h

  Log Message:
  -----------
  [IFC] Rename TextOnlyLineBuilder to TextOnlySimpleLineBuilder
https://bugs.webkit.org/show_bug.cgi?id=260261

Reviewed by Tim Nguyen.

This builder is supposed to stay simple, covering only the most common cases (properties).

* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::layoutInFlowAndFloatContent):
(WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp: Renamed from Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.cpp.
(WebCore::Layout::inlineTextItemWidth):
(WebCore::Layout::placedInlineItemEnd):
(WebCore::Layout::isLastLineWithInlineContent):
(WebCore::Layout::appendInlineTextItem):
(WebCore::Layout::consumeTrailingLineBreakIfApplicable):
(WebCore::Layout::TextOnlySimpleLineBuilder::TextOnlySimpleLineBuilder):
(WebCore::Layout::TextOnlySimpleLineBuilder::layoutInlineContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::initialize):
(WebCore::Layout::TextOnlySimpleLineBuilder::placeInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::placeNonWrappingInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::handleInlineTextContent):
(WebCore::Layout::TextOnlySimpleLineBuilder::handleLineEnding):
(WebCore::Layout::TextOnlySimpleLineBuilder::rebuildLine):
(WebCore::Layout::TextOnlySimpleLineBuilder::root const):
(WebCore::Layout::TextOnlySimpleLineBuilder::isEligibleForSimplifiedTextOnlyInlineLayout):
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.h: Renamed from Source/WebCore/layout/formattingContexts/inline/TextOnlyLineBuilder.h.
(WebCore::Layout::TextOnlySimpleLineBuilder::isFirstFormattedLine const):
(WebCore::Layout::TextOnlySimpleLineBuilder::formattingContext const):

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




More information about the webkit-changes mailing list