[webkit-changes] [WebKit/WebKit] dd091d: Style change from overflow:scroll to hidden doesn'...
mattwoodrow
noreply at github.com
Tue Jan 14 16:11:40 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dd091dc0369dc1dabd7fb8a11b114eac2676e6fe
https://github.com/WebKit/WebKit/commit/dd091dc0369dc1dabd7fb8a11b114eac2676e6fe
Author: Matt Woodrow <mattwoodrow at apple.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
A LayoutTests/compositing/repaint/not-self-painting-layer-stops-compositing-expected.html
A LayoutTests/compositing/repaint/not-self-painting-layer-stops-compositing.html
M Source/WebCore/rendering/RenderLayer.cpp
Log Message:
-----------
Style change from overflow:scroll to hidden doesn't repaint correctly.
https://bugs.webkit.org/show_bug.cgi?id=285631
<rdar://140540582>
Reviewed by Simon Fraser.
Always repaint and update rects when compositing status changes, since if the
change also makes the content not self painting, we won't repaint it again.
If this happens while layout is dirty, set the layer dirty bit so that compute
the rects again after the next layout.
* LayoutTests/compositing/repaint/not-self-painting-layer-stops-compositing-expected.html: Added.
* LayoutTests/compositing/repaint/not-self-painting-layer-stops-compositing.html: Added.
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::compositingStatusChanged):
Canonical link: https://commits.webkit.org/288901@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list