[webkit-changes] [WebKit/WebKit] 224844: [IFC] Add explanation why we find justification op...
Alan Baradlay
noreply at github.com
Sun Dec 25 19:01:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 224844a635de837f013d9c3aec844ffb707ecc33
https://github.com/WebKit/WebKit/commit/224844a635de837f013d9c3aec844ffb707ecc33
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-12-25 (Sun, 25 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
Log Message:
-----------
[IFC] Add explanation why we find justification opportunities within preserved whitespace
https://bugs.webkit.org/show_bug.cgi?id=249882
Reviewed by Antti Koivisto.
See https://bugs.chromium.org/p/chromium/issues/detail?id=336636
and https://lists.w3.org/Archives/Public/www-style/2014Apr/0469.html
(It's ok to justify text when white-space is pre-wrap)
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::applyRunExpansion):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::hasHangableStopOrCommaEnd):
Canonical link: https://commits.webkit.org/258333@main
More information about the webkit-changes
mailing list