Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ea46dc05aa6e15307c78d549a6aee17677b58c4
      
https://github.com/WebKit/WebKit/commit/1ea46dc05aa6e15307c78d549a6aee17677b58c4
  Author: Alan Baradlay <[email protected]>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    A 
LayoutTests/fast/repaint/missing-out-of-flow-repaint-on-destroy-expected.html
    A LayoutTests/fast/repaint/missing-out-of-flow-repaint-on-destroy.html
    M Source/WebCore/rendering/RenderObject.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp

  Log Message:
  -----------
  REGRESSION (Safari 26): Missing paint invalidation of area previously covered 
by a repositioned element
https://bugs.webkit.org/show_bug.cgi?id=299728
<rdar://problem/161570899>

Reviewed by Simon Fraser.

This change ensures that when the parent layer
- has full-repaint bit set
- but does necessarily enclose this 'destroyRoot' renderer (out-of-flow box 
does not contribute to the size of the parent layer)
we still manage to invalidate the area by issuing a forced repaint.

* 
LayoutTests/fast/repaint/missing-out-of-flow-repaint-on-destroy-expected.html: 
Added.
* LayoutTests/fast/repaint/missing-out-of-flow-repaint-on-destroy.html: Added.
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::containerForRepaint const):
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
(WebCore::repaintAndMarkContainingBlockDirtyBeforeTearDown):

Canonical link: https://commits.webkit.org/301625@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