Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 94b07281b697c50c74b9a6c28154b3ce83bb4305
https://github.com/WebKit/WebKit/commit/94b07281b697c50c74b9a6c28154b3ce83bb4305
Author: Simon Fraser <[email protected]>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M Source/WebCore/rendering/RenderView.cpp
Log Message:
-----------
Avoid work when repaints are clipped at iframe boundaries
https://bugs.webkit.org/show_bug.cgi?id=264301
rdar://118024306
Reviewed by Alan Baradlay.
We can early return from `RenderView::repaintViewRectangle()` when we find that
a repaint rect is
clipped out in an iframe; this saves a little bit of work finding the repaint
container in the
iframe's parent document, but is not detectable with a repaint test since we do
avoid the
repaint eventually.
* Source/WebCore/rendering/RenderView.cpp:
(WebCore::RenderView::repaintViewRectangle const):
Canonical link: https://commits.webkit.org/270307@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes