[FEATURE] CSS `text-wrap` pretty and balance values for text and wrapped ANSI
Closed this issue · 1 comments
New in Chrome v117.
Text is wrapped in a way that best balances the number of characters on each line, enhancing layout quality and legibility. Because counting characters and balancing them across multiple lines is computationally expensive, this value is only supported for blocks of text spanning a limited number of lines (six for Chromium and ten for Firefox).
Results in the same behavior as wrap, except that the user agent will use a slower algorithm that favors better layout over speed. This is intended for body copy where good typography is favored over performance (for example, when the number of orphans should be kept to a minimum).
Also read https://codersblock.com/blog/nicer-text-wrapping-with-css-text-wrap/
Complete