Justifying text-wrap: pretty
SMRTR summary
Safari shipped text-wrap: pretty in 2025, bringing intelligent line-breaking algorithms to web typography after decades of relying on greedy algorithms. While this represents progress toward beautiful web typography comparable to print standards, a bug exists when combining it with text-align: justify, causing excessive whitespace between words due to implementation details in the dynamic programming approach.
SMRTR provides this summary for quick context. The original article belongs to Daily.dev.
Read the original article