[csswg-drafts] [css-text] Having overflow-wrap: break-word affect min-content size is not webcompatible

upsuper has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text] Having overflow-wrap: break-word affect min-content size is not webcompatible ==
We resolved in #2682 that `overflow-wrap: break-word` should affect min-content size, however, it doesn't seem to be web-compatible.

After we [landed the change to Gecko](https://bugzilla.mozilla.org/show_bug.cgi?id=1472386), we immediately got [two](https://bugzilla.mozilla.org/show_bug.cgi?id=1476180) [bugs](https://bugzilla.mozilla.org/show_bug.cgi?id=1478455) reported, and the latter is an issue on GitHub, see https://github.com/vscode-icons/vscode-icons/wiki/ListOfFiles.

GitHub has `word-wrap: break-word` set on the whole page, likely because its content are from users, and it's better to allow breaking word as a fallback when there is an otherwise unbreakable string. However, in that case, people may not really want it to affect min-content in e.g. tables accidentally.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2951 using your GitHub account

Received on Thursday, 26 July 2018 01:31:59 UTC