Support for text-wrap: pretty has been introduced in Safari Technology Preview, enhancing typography on the web by using paragraph-based algorithms to solve traditional issues like short lines, bad rag, and poor hyphenation. The feature aims to improve readability and aesthetics of web text significantly. It's compared to the text-wrap: balance value, illustrating the different use-cases for each. Using text-wrap: pretty should have minimal performance impact for typical-length paragraphs, and developers are encouraged to test it and provide feedback.
Table of contents
Better typographytext-wrap: prettytext-wrap: balancetext-wrap: avoid-short-last-linestext-wrap: autotext-wrap: stabletext-wrap-mode and text-wrap-styleWhat do you think?Sort: