Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 62a02c8c5d58aa668ea06379593b65c94b860179
      
https://github.com/WebKit/WebKit/commit/62a02c8c5d58aa668ea06379593b65c94b860179
  Author: Matt Woodrow <[email protected]>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/compositing/repaint-container-assertion-when-removing-layer.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebCore/rendering/RenderLayer.cpp

  Log Message:
  -----------
  REGRESSION(294049@main): 
scroll-animations/css/animation-range-visual-test.html` hits 
`ASSERT(repaintContainer->isComposited())` under 
`RenderObject::repaintUsingContainer().
https://bugs.webkit.org/show_bug.cgi?id=292016
<rdar://149959000>

Reviewed by Simon Fraser.

When removing a RenderLayer entirely, update the cached repaint container on all
children at the same time they get marked as needing a full repaint.

Fix the existing test to actually catch this bug by waiting for a rendering
update so that the container is composited before removing its layer.

* LayoutTests/compositing/repaint-container-assertion-when-removing-layer.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::removeOnlyThisLayer):

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