W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

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

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Jul 2018 01:31:53 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-344662378-1532568713-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 26 July 2018 01:32:00 UTC