Re: [csswg-drafts] [css-text-4] Way to only hyphenate when word is broken in “emergency situations”? (#4600)

My feeling that that if we accept this, it should be a value of `overflow-wrap` (`overflow-wrap: hyphenate` or `overflow-wrap: hyphens`) rather than a new value of `hyphens`. It would do nothing if there is no risk of overflow, hyphenate the same way `hyphens:auto` does but only in cases of things would otherwise overflow, and do the same as `overflow-wrap: anywhere` if hyphenation was not applicable to the word (or wasn't enough to remove overflow). Or possibly, `overflow-wrap` could take `hyphenate` plus another keyword from `anywhere | break-word | normal` to let authors chose what to do if hyphenation doesn't solve the overflow problem. 

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4600#issuecomment-565987978 using your GitHub account

Received on Monday, 16 December 2019 09:56:11 UTC