Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cd5965613e19f07ea04d837b3c5e1d93c0259c5
      
https://github.com/WebKit/WebKit/commit/2cd5965613e19f07ea04d837b3c5e1d93c0259c5
  Author: Alan Baradlay <[email protected]>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  [blocks-in-inline] Fix 
editing/inserting/insert-list-with-body-child-crash.html
https://bugs.webkit.org/show_bug.cgi?id=303846

Reviewed by Antti Koivisto.

This fast path is for block layout only (and not when the block is inside an 
inline).

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlock):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight const): parentBox expects the caller 
to ensure that the parent is a RenderBox.

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



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

Reply via email to