Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 01f5eadff3e20d76fbb6af3a5cec732d12ca2aa0
https://github.com/WebKit/WebKit/commit/01f5eadff3e20d76fbb6af3a5cec732d12ca2aa0
Author: Alan Baradlay <[email protected]>
Date: 2023-03-20 (Mon, 20 Mar 2023)
Changed paths:
M LayoutTests/TestExpectations
M
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
M
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h
Log Message:
-----------
[IFC][Partial layout] Fix
http/tests/security/cross-origin-cached-images-with-memory-pressure.html
https://bugs.webkit.org/show_bug.cgi?id=254154
Reviewed by Antti Koivisto.
Memory pressure may wipe out all inline items. Let's not treat it as an
unexpected state and just trigger full layout.
* LayoutTests/TestExpectations:
*
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::isSupportedContent):
(WebCore::Layout::InlineInvalidation::applyFullDamageIfNeeded):
(WebCore::Layout::InlineInvalidation::textInserted):
(WebCore::Layout::InlineInvalidation::textWillBeRemoved):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxInserted):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxWillBeRemoved):
(WebCore::Layout::isSupportedInlineLevelBox): Deleted.
*
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h:
Canonical link: https://commits.webkit.org/261892@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes