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

  Changed paths:
    A LayoutTests/fast/inline/blocks-in-inline-float-clear-expected.html
    A LayoutTests/fast/inline/blocks-in-inline-float-clear.html
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp
    M Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h

  Log Message:
  -----------
  [blocks-in-inline] Fix ASSERT in 
fast/block/margin-collapse/block-inside-inline/021.html
https://bugs.webkit.org/show_bug.cgi?id=302411

Reviewed by Antti Koivisto.

hasInlineContent() in LineLayoutResult is supposed to return false when the line
has block content.

Test: fast/inline/blocks-in-inline-float-clear.html

* LayoutTests/fast/inline/blocks-in-inline-float-clear-expected.html: Added.
* LayoutTests/fast/inline/blocks-in-inline-float-clear.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingUtils.cpp:
(WebCore::Layout::InlineFormattingUtils::inlineContentEnding):
* Source/WebCore/layout/formattingContexts/inline/LineLayoutResult.h:

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



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

Reply via email to