- From: John via GitHub <sysbot+gh@w3.org>
- Date: Sat, 20 Mar 2021 22:51:00 +0000
- To: public-css-archive@w3.org
> Note that the behavior of this feature—allowing breaks anywhere if the word cannot fit its container (per `word-wrap/overflow-wrap: break-word`) and _also_ having these break opportunities affect the min-content size—is now specified for `word-wrap/overflow-wrap: break-word`. See #2682 > > This means that once implementations catch up, there is no use case requiring `word-break: break-word` to be added (since `overflow-wrap: break-word` now has this behavior), and the only reason to add this second syntax would be if it's needed for Web-compat. @fantasai Does it mean that `word-break: break-word` is now redundant and we can simply replace it with `overflow-wrap: break-word` without changing any other things? And does it mean that the following statement by MDN is no longer correct? > Note: In contrast to word-break, overflow-wrap will only create a break if an entire word cannot be placed on its own line without overflowing. (Source: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap) I ask from a perspective of an average web developer. -- GitHub Notification of comment by john-cj Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2390#issuecomment-803474695 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 20 March 2021 22:51:02 UTC