Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7f4f0e349bf4bfb0e47e75cfa1cd32209fe3eec4 https://github.com/WebKit/WebKit/commit/7f4f0e349bf4bfb0e47e75cfa1cd32209fe3eec4 Author: Alan Baradlay <za...@apple.com> Date: 2024-04-18 (Thu, 18 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 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/277669@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