W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-text] Ability to control hyphenation of proper nouns/capitalised words (#5157)

From: jfkthame via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Jun 2020 11:12:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-639416413-1591355550-sysbot+gh@w3.org>
> > this is only about whether hyphens: auto gets to attempt hyphenation. Explicit hyphens or ­ should not be affected. If the author put them there, presumably they're intended to be used.
> I beg to differ.
> a) There are JavaScript tools that use soft hyphens everywhere, so they are not necessarily put there with intention.

JavaScript tools that insert soft-hyphens have access to the text, and can make their own decisions whether to insert them in capitalized words or not. That (IMO) is out of scope for what the CSS hyphenation properties are seeking to control.

> b) The other hyphenation control properties seem to apply to both types of hyphenation (automatic or with soft hyphens, see #5090).

For the (proposed/draft) properties that provide control over where hyphenation is used within the overall layout, yes. For properties that fine-tune where the hyphenation algorithm may insert potential breaks, that's less clear; I think such properties should not affect manual soft hyphens. (See https://github.com/w3c/csswg-drafts/issues/5090#issuecomment-639407007.)

GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5157#issuecomment-639416413 using your GitHub account
Received on Friday, 5 June 2020 11:12:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC