Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable
text-wrap: balance
when not supported
https://bugs.webkit.org/show_bug.cgi?id=260351 rdar://114031168 Reviewed by Alan Baradlay. This patch disables `text-wrap: balance` when it encounters something that it cannot balance. This includes: - soft hyphens - preserved tabs - box-decoration-break: clone * Source/WebCore/layout/formattingContexts/inline/InlineContentBalancer.cpp: (WebCore::Layout::containsTrailingSoftHyphen): (WebCore::Layout::containsPreservedTab): (WebCore::Layout::cannotBalanceInlineItem): (WebCore::Layout::InlineContentBalancer::initialize): Canonical link: https://commits.webkit.org/267025@main
- Loading branch information