Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7fe3710f618e57e3b1ee927b15c701b608bfa4fa
      
https://github.com/WebKit/WebKit/commit/7fe3710f618e57e3b1ee927b15c701b608bfa4fa
  Author: Alan Baradlay <[email protected]>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M 
Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/layouttree/LayoutBox.cpp

  Log Message:
  -----------
  [cleanup] Inline level boxes and inline boxes are all element boxes
https://bugs.webkit.org/show_bug.cgi?id=307248

Reviewed by Antti Koivisto.

Soft linebreak might get mistakenly treated as an inline box.

* Source/WebCore/layout/formattingContexts/inline/InlineContentConstrainer.cpp:
(WebCore::Layout::cannotConstrainInlineItem):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::inlineItemWidth const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateRenderTreePositions):
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isInlineLevelBox const):
(WebCore::Layout::Box::isInlineBox const):

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



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

Reply via email to