-
Notifications
You must be signed in to change notification settings - Fork 747
Open
Labels
css-text-4i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Description
https://www.w3.org/TR/css-text-4/#hyphenation
Sometimes, the best way to handle overlong words is overflow-wrap: break-word
. Unfortunately, by default it breaks a word as soon as possible, instead of the intelligent break positions of hyphens
.
Setting hyphens: auto;
does hyphenate breaks from overflow-wrap
, but it also breaks and hyphenates words that don’t need it:
(from dassur.ma/things/when-workers/. I have to pop open devtools to disable hyphens
whenever I read his blog.)
I find hyphenation difficult and distracting to read, but I appreciate their signal that a word has been broken when it’s necessary.
I would love a value like hyphens: overflow
that doesn’t needlessly hyphenate, but intelligently breaks words when necessary.
Metadata
Metadata
Assignees
Labels
css-text-4i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.