- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 Jul 2016 05:27:35 +0000
- To: public-css-archive@w3.org
Fair point. we should probably adjust the spec accordingly, as nobody collapses all the spaces. That said, note that: - IE/Edge don't collapse at all, and hangs the spaces - Safari does what you say you'll do - Chrome does a strange inbetween thing: the overflowing spaces are sort of collapsed, since text-decoration for example won't underline them, but if you select them the selection will extend past the box. test here: http://jsbin.com/difonuw/1/edit?html,css,output So the IE/Edge behavior is now ok and would stay ok after the change you suggest, the Safari would be more clearly ok after the change than before (and I think you plan to do the same thing), and the chrome behavior is just weird. I don't know that it is intentional though. Finally, don't be too fast in dropping old code (well, sure you have source control...), some of the behavior Mozilla has now under `white-space:pre-wrap; word-wrap: break-word;` should be preserved for `white-space:pre-wrap; word-wrap: break-spaces;` when https://github.com/w3c/csswg-drafts/pull/111 gets merged (it's already resolved, just tweaking the wording now). -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/277#issuecomment-230982363 using your GitHub account
Received on Thursday, 7 July 2016 05:27:47 UTC