Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7a4c98d36d1c6ae6012d6e9bf91d520710d5d529 https://github.com/WebKit/WebKit/commit/7a4c98d36d1c6ae6012d6e9bf91d520710d5d529 Author: Alan Baradlay <za...@apple.com> Date: 2024-04-22 (Mon, 22 Apr 2024)
Changed paths: M LayoutTests/fast/repaint/box-shadow-top-left-repaint-expected.txt M LayoutTests/fast/repaint/focus-ring-repaint-expected.txt M LayoutTests/fast/repaint/leftover-after-shrinking-content-expected.txt M LayoutTests/fast/repaint/overlapping-lines-with-ink-overflow-expected.txt M LayoutTests/platform/ios/editing/style/table-selection-expected.txt M LayoutTests/platform/mac/editing/style/table-selection-expected.txt M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineDamage.h M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp M Source/WebCore/rendering/RenderBlockFlow.cpp M Source/WebCore/rendering/RenderElement.cpp M Source/WebCore/rendering/RenderInline.cpp M Source/WebCore/rendering/RenderText.cpp Log Message: ----------- [IFC] Do not invalidate LineLayout on style change unless it is completely stale https://bugs.webkit.org/show_bug.cgi?id=272570 Reviewed by Antti Koivisto. Instead of deleting the LineLayout object on style change, let's just invalidate the (inline item) cache when needed. * LayoutTests/fast/repaint/focus-ring-repaint-expected.txt: * LayoutTests/fast/repaint/leftover-after-shrinking-content-expected.txt: * LayoutTests/fast/repaint/overlapping-lines-with-ink-overflow-expected.txt: * Source/WebCore/layout/formattingContexts/inline/invalidation/InlineDamage.h: * Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp: (WebCore::Layout::InlineInvalidation::styleWillChange): * Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp: (WebCore::LayoutIntegration::LineLayout::layout): * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::styleDidChange): * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::styleDidChange): Canonical link: https://commits.webkit.org/277811@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