[webkit-changes] [WebKit/WebKit] 32b400: [IFC][Partial layout] Fix editing/deleting/delete-...
Alan Baradlay
noreply at github.com
Sun Mar 5 07:58:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32b4003efcd2108d42f464ecfb097071cb11f368
https://github.com/WebKit/WebKit/commit/32b4003efcd2108d42f464ecfb097071cb11f368
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-03-05 (Sun, 05 Mar 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
Log Message:
-----------
[IFC][Partial layout] Fix editing/deleting/delete-block-merge-contents-014.html
https://bugs.webkit.org/show_bug.cgi?id=253401
Reviewed by Antti Koivisto.
Adjust the damaged InlineItem position when the associated text box content happens to get collapsed.
In such cases (when we don't construct display box for the collapsed content), we simply
start using the first InlineItem associated with the damaged text box.
* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::inlineItemPositionForDisplayBox):
(WebCore::Layout::firstInlineItemIndexForLayoutBox):
(WebCore::Layout::leadingInlineItemPositionForDamage):
Canonical link: https://commits.webkit.org/261244@main
More information about the webkit-changes
mailing list