[webkit-changes] [WebKit/WebKit] a0de58: [IFC] Pass in ConstraintsForInlineContent to both ...
Alan Baradlay
noreply at github.com
Tue Aug 29 07:12:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a0de58ae0af19178325e728b6c7022b4c2b4a76a
https://github.com/WebKit/WebKit/commit/a0de58ae0af19178325e728b6c7022b4c2b4a76a
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-08-29 (Tue, 29 Aug 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/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h
Log Message:
-----------
[IFC] Pass in ConstraintsForInlineContent to both display line and box builders
https://bugs.webkit.org/show_bug.cgi?id=260811
Reviewed by Antti Koivisto.
This is in preparation for static position out-of-flow content where the containing block
start (ignoring intrusive floats etc) is the start position for certain type of out-of-flow boxes.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::createDisplayContentForLine):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::InlineDisplayContentBuilder):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.h:
(WebCore::Layout::InlineDisplayContentBuilder::constraints const):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.cpp:
(WebCore::Layout::InlineDisplayLineBuilder::InlineDisplayLineBuilder):
(WebCore::Layout::InlineDisplayLineBuilder::build const):
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLineBuilder.h:
(WebCore::Layout::InlineDisplayLineBuilder::constraints const):
Canonical link: https://commits.webkit.org/267402@main
More information about the webkit-changes
mailing list