Roma Komarov on Nostr: To go sleep before the next day of #CSSDay, or… play with `text-wrap: pretty`? ...
To go sleep before the next day of #CSSDay, or… play with `text-wrap: pretty`?
Quick findings :
1. It is basically preventing the orphan word (the lonely word in the end) by moving an additional word alongside it.
2. The actual algorithm seems to take into account the length of the word & seemingly how the last two lines are composed.
3. There is no line limit compared to `balance`.
4. It only does this to the final lines: cases in the middle with a lonely word are not handled.
/cc npub16cetlcakyc72ajfupjgdgndkudyfxe52k7y6tldfs56ejhtzdrrs4erq62 (npub16ce…rq62)
Quick findings :
1. It is basically preventing the orphan word (the lonely word in the end) by moving an additional word alongside it.
2. The actual algorithm seems to take into account the length of the word & seemingly how the last two lines are composed.
3. There is no line limit compared to `balance`.
4. It only does this to the final lines: cases in the middle with a lonely word are not handled.
/cc npub16cetlcakyc72ajfupjgdgndkudyfxe52k7y6tldfs56ejhtzdrrs4erq62 (npub16ce…rq62)