Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d0ffaaa7a1db2907fe075cc8ba8f3e395ce82098
      
https://github.com/WebKit/WebKit/commit/d0ffaaa7a1db2907fe075cc8ba8f3e395ce82098
  Author: Alan Baradlay <[email protected]>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

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

  Log Message:
  -----------
  [IFC] leadingInlineItemPositionForNextLine should take the LineLayoutResult
https://bugs.webkit.org/show_bug.cgi?id=325283
<rdar://problem/188394216>

Reviewed by Elika Etemad.

Every caller of leadingInlineItemPositionForNextLine passed the line's content 
end together with the same
"has intrusive or newly placed float" expression, and both come from the line's 
LineLayoutResult.
The function now takes the LineLayoutResult and reads them itself.

No change in behavior.

* Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp:
(WebCore::Layout::InlineContentConstrainer::layoutSingleLineForPretty):
(WebCore::Layout::InlineContentConstrainer::initialize):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::lineLayout):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::leadingInlineItemPositionForNextLine):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.h:
* Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp:
(WebCore::Layout::IntrinsicWidthHandler::computedIntrinsicWidthForConstraint):

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



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

Reply via email to