Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e8166aff20a89e39427107c151c1ab5956f11b53
      
https://github.com/WebKit/WebKit/commit/e8166aff20a89e39427107c151c1ab5956f11b53
  Author: Antti Koivisto <[email protected]>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M 
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.h
    M Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp

  Log Message:
  -----------
  [blocks-in-inline] Assert in fast/inline/outline-with-continuation-assert.html
https://bugs.webkit.org/show_bug.cgi?id=302148
rdar://164239880

Reviewed by Alan Baradlay.

* 
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp:
(WebCore::LayoutIntegration::layoutWithFormattingContextForBlockInInline):

Not all boxes with display:block are RenderBlockFlows.

* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp:
(WebCore::RenderTreeBuilder::Block::createAnonymousBlockWithStyle):
* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.h:
* Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp:
(WebCore::RenderTreeBuilder::Inline::wrapRunsOfBlocksInAnonymousBlock):

Similarly loosen typing to RenderBox for block run as they may have collapsing 
margins too.

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



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

Reply via email to