[webkit-changes] [WebKit/WebKit] a9593e: [IFC][Partial layout] Ensure up-to-date isFirst/is...
Alan Baradlay
noreply at github.com
Thu Mar 16 13:57:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9593e9d2a18f3fdefd4885276b6b4f7f9ae915e
https://github.com/WebKit/WebKit/commit/a9593e9d2a18f3fdefd4885276b6b4f7f9ae915e
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-03-16 (Thu, 16 Mar 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h
Log Message:
-----------
[IFC][Partial layout] Ensure up-to-date isFirst/isLast bits on InlineDisplay::Boxes
https://bugs.webkit.org/show_bug.cgi?id=253988
Reviewed by Antti Koivisto.
Let's update these bits when we have the display content is fully constructed.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::layoutInFlowContent):
(WebCore::Layout::InlineFormattingContext::layoutInFlowContentForIntegration):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::computeIsFirstIsLastBoxForInlineContent): Deleted.
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::updateLineOverflow const):
(WebCore::LayoutIntegration::InlineContentBuilder::computeIsFirstIsLastBoxForInlineContent const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h:
Canonical link: https://commits.webkit.org/261768@main
More information about the webkit-changes
mailing list