Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3c3b677d1d2a5d5276086e104d7f9ba3767cd7c4 https://github.com/WebKit/WebKit/commit/3c3b677d1d2a5d5276086e104d7f9ba3767cd7c4 Author: Alan Baradlay <za...@apple.com> Date: 2025-03-31 (Mon, 31 Mar 2025)
Changed paths: A LayoutTests/fast/repaint/content-visibility-visible-to-hidden-simple-expected.txt A LayoutTests/fast/repaint/content-visibility-visible-to-hidden-simple.html M Source/WebCore/rendering/RenderElement.cpp Log Message: ----------- [content visibility] Changing c-v from visible to hidden has no effect until subsequent (forced/unrelated) paint https://bugs.webkit.org/show_bug.cgi?id=290552# Reviewed by Antti Koivisto. When content becomes 'c-v: h', we should issue repaint during style change the same way we issue repaint when a renderer goes away. Replace the previous, specific to out-of-flow boxes fix with a more generic one. * LayoutTests/fast/repaint/content-visibility-visible-to-hidden-simple-expected.txt: Added. * LayoutTests/fast/repaint/content-visibility-visible-to-hidden-simple.html: Added. * Source/WebCore/rendering/RenderElement.cpp: (WebCore::RenderElement::repaintBeforeStyleChange): Canonical link: https://commits.webkit.org/292960@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes