Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d09859003293963034021c6345efe80f7740edf
      
https://github.com/WebKit/WebKit/commit/0d09859003293963034021c6345efe80f7740edf
  Author: Alan Baradlay <[email protected]>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp

  Log Message:
  -----------
  Do not run inline layout invalidation when formatting root is also destroyed
https://bugs.webkit.org/show_bug.cgi?id=273200

Reviewed by Antti Koivisto.

1. Render tree tear down normally starts at leaf followed by destroying 
containers.
2. Invalidation code at the leaf level does not consider whether root is going 
to be destroy too.

It could lead to unnecessary work at leaf level which now we just skip.

* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::detachFromRenderElement):

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