Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49a5921035bd99e38850db523badca1ef9208b78
https://github.com/WebKit/WebKit/commit/49a5921035bd99e38850db523badca1ef9208b78
Author: Alan Baradlay <[email protected]>
Date: 2023-06-21 (Wed, 21 Jun 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
Log Message:
-----------
[IFC] RenderStyle::whiteSpaceCollapse should be used to figure out whether
whitespace content should be collapsed on not
https://bugs.webkit.org/show_bug.cgi?id=258329
Reviewed by Tim Nguyen.
Preserving rules as follows:
spaces and tabs: pre, pre-wrap and break-spaces (preserve and break-spaces)
new lines: pre, pre-wrap, break-spaces and pre-line (preserve, preserve-break
and break-spaces)
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::shouldPreserveSpacesAndTabs):
(WebCore::Layout::TextUtil::shouldPreserveNewline):
Canonical link: https://commits.webkit.org/265353@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes