[webkit-changes] [WebKit/WebKit] f36fe2: [IFC] Move expansion opportunity logic to a standa...
Alan Baradlay
noreply at github.com
Sun Sep 17 05:38:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f36fe26d855fb1e937556417bf92137ca578070c
https://github.com/WebKit/WebKit/commit/f36fe26d855fb1e937556417bf92137ca578070c
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-09-17 (Sun, 17 Sep 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h
Log Message:
-----------
[IFC] Move expansion opportunity logic to a standalone helper
https://bugs.webkit.org/show_bug.cgi?id=261642
Reviewed by Antti Koivisto.
"ruby-align: space-between" is going to use this helper as well.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::applyRunExpansion):
(WebCore::Layout::Line::Run::hasTextCombine const):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::computedExpansions):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:
Canonical link: https://commits.webkit.org/268063@main
More information about the webkit-changes
mailing list