Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bd3a62b622c5fc0585da5aa3fe81c91a9428a317
      
https://github.com/WebKit/WebKit/commit/bd3a62b622c5fc0585da5aa3fe81c91a9428a317
  Author: Alan Baradlay <[email protected]>
  Date:   2025-11-15 (Sat, 15 Nov 2025)

  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/InlineLineBoxBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp
    M Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h

  Log Message:
  -----------
  [cleanup] Add hasInflowContent/hasInlineContent/hasBlockContent to 
LineLayoutResult
https://bugs.webkit.org/show_bug.cgi?id=302570

Reviewed by Antti Koivisto.

Add helper functions to differentiate between block and inline content.

* Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp:
(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::inlineContentEnding):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::build):
* Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp:
(WebCore::Layout::IntrinsicWidthHandler::computedIntrinsicWidthForConstraint):
* Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:
(WebCore::Layout::LineLayoutResult::inflowContentType const):
(WebCore::Layout::LineLayoutResult::hasInlineContent const):
(WebCore::Layout::LineLayoutResult::hasBlockContent const):
(WebCore::Layout::LineLayoutResult::hasInflowContent const):

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



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

Reply via email to