[webkit-changes] [WebKit/WebKit] 66f8c8: [IFC] If white-space-collapse is preserve and text...
Alan Baradlay
noreply at github.com
Thu Jun 22 09:12:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 66f8c85cf0abb29763d207ac03539f4982cca531
https://github.com/WebKit/WebKit/commit/66f8c85cf0abb29763d207ac03539f4982cca531
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-06-22 (Thu, 22 Jun 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/InlineLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h
Log Message:
-----------
[IFC] If white-space-collapse is preserve and text-wrap is not nowrap, the UA must hang this sequence
https://bugs.webkit.org/show_bug.cgi?id=258331
Reviewed by Tim Nguyen.
https://www.w3.org/TR/css-text-4/#white-space-phase-2
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::appendTextContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
(WebCore::Layout::Line::Run::style const):
(WebCore::Layout::Line::Run::shouldTrailingWhitespaceHang const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineCandidate::InlineContent::appendInlineItem):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::shouldTrailingWhitespaceHang):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.h:
Canonical link: https://commits.webkit.org/265406@main
More information about the webkit-changes
mailing list