[csswg-drafts] Issue: [css-text-3] Hyphenation usages in CJK marked as i18n-comment

r12a has just labeled an issue for https://github.com/w3c/csswg-drafts
 as "i18n-comment":

== [css-text-3] Hyphenation usages in CJK ==
Got a feedback from Japanese web developers that there's no good way 
to minimize expansions of justified text.

If the text is purely CJK, there won't be much expansions; mostly only
 at break exceptions, but when long English words appear in the CJK 
text, lines may expand too much. He then:

* Tried [`hyphens: 
auto`](https://drafts.csswg.org/css-text-3/#valdef-hyphens-auto), but 
since pages have `lang=ja`, hyphenations don't work.
* Tried [`word-break: 
break-all`](https://drafts.csswg.org/css-text-3/#propdef-word-break), 
but Gecko and WebKit ignore CJK line breaking rules, and hit [a 
bug](http://crbug.com/668399) in Blink.
* Using full-width alphabet (breaks like `break-all`) is technically 
possible but don't want to take that route.

So I'm thinking a few possible ideas:

* `hyphens-lang` to override the languages only for hyphenations.
* For languages that do not hyphenate, but often mix English, 
automatically fallback to English.

Thoughts?

/cc @upsuper @fantasai @frivoal @r12a

See https://github.com/w3c/csswg-drafts/issues/785

Received on Thursday, 8 December 2016 16:55:05 UTC