- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Thu, 09 May 2019 11:36:13 +0000
- To: public-css-archive@w3.org
I'm not sure I follow your examples. In (1), no browser I tested (Chrome, Safari, Firefox) breaks between the words at all. In any case, this use-case can (better?) be addressed by inserting ZWSP at the desired word breaks, rather than per-word markup -- although if you particularly want to do it based on markup, without the break points being part of the text stream, you could do this by using `.word::after { content: '\200b' }` to introduce the breaks. Regarding (2), keeping the name unbroken, this seems to me like it should work exactly as an author would expect using the approach I suggest, although currently the `keep-all` here doesn't seem to work correctly in Firefox; this looks like a bug. In Chrome the two-character name also stays glued to the preceding character that was not part of the name. IMO this would be unexpected; applying the keep-all attribute to the two characters of the name (only) should ensure those characters stay together, but shouldn't affect the fact that there's a possible break before it. -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3897#issuecomment-490867305 using your GitHub account
Received on Thursday, 9 May 2019 11:36:14 UTC