Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1c874dbf01e2e44eb7a989f83fe6e8b1bff4afaf
https://github.com/WebKit/WebKit/commit/1c874dbf01e2e44eb7a989f83fe6e8b1bff4afaf
Author: Alan Baradlay <[email protected]>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h
Log Message:
-----------
[IFC][hanging punctuation] Line::appendTextContent should call
setTrailingStopOrComma when it sees one
https://bugs.webkit.org/show_bug.cgi?id=249696
Reviewed by Antti Koivisto.
This is in preparation for supporting "hanging-punctuation: allow-end".
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendTextContent):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::hasHangableStopOrCommaEnd):
(WebCore::Layout::TextUtil::hangableStopOrCommaEndWidth):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:
Canonical link: https://commits.webkit.org/258203@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes