Re: [csswg-drafts] [css-text-3] Discarding Line Breaks Adjacent to Ambiguous Characters (#5017)

> Editors oriented at programmers may possibly be more protective of hyphens because of their use in certain types of identifiers. That would be different from regular text.

I think most editors just treat hyphen as a part of the word, and won't explicitly protect it from line-breaking (i.e., won't treat hyphens specially, unless the user changes the config and/or provides a customized function for hard wrapping).

But regardless of what the editors do, my point (as in https://github.com/w3c/csswg-drafts/issues/5017#issuecomment-627723036 , and I believe it's also @kidayasuo's point) is that we should document where we expect the authors (and authoring tools) to break lines in the source code, maybe as informative notes with examples, in addition to the existing examples in https://drafts.csswg.org/css-text-3/#line-break-transform

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5017#issuecomment-628397602 using your GitHub account

Received on Thursday, 14 May 2020 05:34:43 UTC