Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b673ad130ad254b8b6f1f847a1b26162ea681a46
https://github.com/WebKit/WebKit/commit/b673ad130ad254b8b6f1f847a1b26162ea681a46
Author: Alan Baradlay <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h
Log Message:
-----------
[IFC][hanging punctuation] LineBuilder::candidateContentForLine should take
"StopOrComma" into account when searching for trailing hanging content
https://bugs.webkit.org/show_bug.cgi?id=249698
Reviewed by Antti Koivisto.
This is preparation for supporting "hanging-punctuation: allow-end".
(Let's search for "StopOrComma" in the candidate content so that line breaking
can use this info to carry out line fitting properly.)
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::trailingPunctuationOrStopOrCommaWidthForLineCandiate
const):
(WebCore::Layout::LineBuilder::candidateContentForLine):
(WebCore::Layout::LineBuilder::trailingPunctuationWidthForLineCandiate const):
Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
Canonical link: https://commits.webkit.org/258288@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes