Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c55e92e3a3d46898cd479cb26cf7c81b043a7471
      
https://github.com/WebKit/WebKit/commit/c55e92e3a3d46898cd479cb26cf7c81b043a7471
  Author: Alan Baradlay <[email protected]>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    A LayoutTests/fast/repaint/no-backdrop-repaint-expected.txt
    A LayoutTests/fast/repaint/no-backdrop-repaint.html
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
    M Source/WebCore/rendering/updating/RenderTreeUpdater.cpp

  Log Message:
  -----------
  (REGRESSION 278380@main)Bad repaint when hovering over GitHub Reviewers gear 
icon
https://bugs.webkit.org/show_bug.cgi?id=275012
<rdar://129083266>

Reviewed by Antti Koivisto.

1. Let's make backdrop renderer part of the normal teardown flow so that we 
don't leak it on document teardown
2. "Destroy root" based repaint should take backdrop renderers into account

* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::destroyAndCleanUpAnonymousWrappers):
* Source/WebCore/rendering/updating/RenderTreeUpdater.cpp:
(WebCore::repaintAndMarkContainingBlockDirtyBeforeTearDown):
(WebCore::RenderTreeUpdater::tearDownRenderers):

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