Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 839689fd73dbff897cae86130c3571fb00f925ee
https://github.com/WebKit/WebKit/commit/839689fd73dbff897cae86130c3571fb00f925ee
Author: Alan Baradlay <[email protected]>
Date: 2023-03-04 (Sat, 04 Mar 2023)
Changed paths:
M
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp
M
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
Log Message:
-----------
[IFC][Partial layout] Add support for adding/removing line break boxes
https://bugs.webkit.org/show_bug.cgi?id=253292
Reviewed by Antti Koivisto.
Line break box changes (insertion/removal) are going through
Invalidation:inlineLevelBoxInserted/inlineLevelBoxWillBeRemoved.
This is similar to what we do when InlineTextBox (RenderText) is
inserted/removed (including line damage computation).
*
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::damagedLineIndex):
(WebCore::Layout::isSupportedInlineLevelBox):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxInserted):
(WebCore::Layout::InlineInvalidation::inlineLevelBoxWillBeRemoved):
*
Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.h:
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::insertedIntoTree):
(WebCore::LayoutIntegration::LineLayout::removedFromTree):
(WebCore::LayoutIntegration::LineLayout::updateTextContent):
Canonical link: https://commits.webkit.org/261238@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes