-
Notifications
You must be signed in to change notification settings - Fork 747
Description
The current 'word-break: keep-all' has:
Breaking is forbidden within “words”: implicit soft wrap opportunities between typographic letter units are suppressed, i.e. breaks are prohibited between pairs of letters (regardless of line-break settings) except where opportunities exist due to dictionary-based breaking. Otherwise this option is equivalent to normal. In this style, sequences of CJK characters do not break.
But this isn't very clear which break opportunities should really be suppressed. Blink has an impl, but I'm afraid this isn't interoperable.
One possible idea we could borrow from ICU discussion in ICU notes F2 is:
For "keepall", if the class is Hangul (H2, H3, JL, JV, JT) or ID, remap to AL
This is a bit different from what the current wording says, but suited for the original purpose and easy to make it interoperable.
I remember, this text was written before we generally try to move Unicode line break property, and was not updated since then while other values such as 'break-all' was changed, is this correct memory, @fantasai ?