News for hackers. Stuff that matters.
Re:The `hanging-punctuation property` in CSS by Someone on Tuesday November 28, 2023 @07:51AM (#38445130)
> a general “this is prose” signal that triggers things like […] conservative hyphenation

At the least, that requires specifying the language of the text, probably even subtle differences such as those between UK and US english (although those can probably be handled very conservatively most of the time, as long words are fairly rare in English, compared to, say, Dutch or German)

Re:The `hanging-punctuation property` in CSS by chrismorgan on Tuesday November 28, 2023 @08:53AM (#38445674)
`hyphens: auto` is already language-aware. (It’s just that currently it either does nothing or too much, because the first-fit line breaking algorithm is lousy for hyphenation.)
Re:The `hanging-punctuation property` in CSS by westurner on Tuesday November 28, 2023 @09:36AM (#38446156)
Is there a CSS setting for links not wrapping and instead being justified to a new line on Android devices?

Input:

  - URL1
    - URL2
      - https://longurl3
Output:

  - URL1
    - URL2
      -
  https://longurl3