Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dd5fe1011df7e3438ac4889356abcab7681df46d
      
https://github.com/WebKit/WebKit/commit/dd5fe1011df7e3438ac4889356abcab7681df46d
  Author: Frédéric Wang <[email protected]>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    A 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-001-expected.txt
    A 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-001.html
    A 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-002-expected.txt
    A 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-002.html
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  Don't update floating object set during an internal reshuffle.
https://bugs.webkit.org/show_bug.cgi?id=292606

Reviewed by Alan Baradlay.

* 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-001-expected.txt:
 Added.
* 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-001.html:
 Added.
* 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-002-expected.txt:
 Added.
* 
LayoutTests/fast/block/float/skipped-content-with-intrusive-floats-crash-002.html:
 Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::addFloatsToNewParent const): Don't add the floats if 
the parent is skipped content.
(WebCore::RenderBlockFlow::insertFloatingBox): ASSERT this is not skipped 
subtree.
(WebCore::RenderBlockFlow::addOverhangingFloats): Ditto.
(WebCore::RenderBlockFlow::addIntrudingFloats): Ditto.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to