Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 783cca59238b2f7c295a079801480f3ae1038421 https://github.com/WebKit/WebKit/commit/783cca59238b2f7c295a079801480f3ae1038421 Author: Alan Bujtas <za...@apple.com> Date: 2022-09-24 (Sat, 24 Sep 2022)
Changed paths: M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp Log Message: ----------- [LFC][IFC] Add support for -webkit-line-break: after-white-space https://bugs.webkit.org/show_bug.cgi?id=245447 Reviewed by Antti Koivisto. This non-standard property works somewhat like "white-space: break-spaces", where soft wrapping opportunity only exists after the whitespace. It also preserves such (collapsed) trailing whitespace content. * Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp: (WebCore::Layout::isAtSoftWrapOpportunity): (WebCore::Layout::LineBuilder::close): Canonical link: https://commits.webkit.org/254834@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes