Re: [css3-text] feedback on 'word-break: keep-all;'

2012/5/4 Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>

> (12/05/04 14:22), Ambrose LI wrote:
>
[...]

> > But since we are talking about CJK here, I *think* I have asked this
> > same question before too, but maybe I should ask again: Suppose we
> > have the following example sentence:
> >
> > §Ú­Ì¤µ¦¸ªº¨Ò·|ÁܽШ쳯¤j¤å±Ð±ÂÁ¿¸Ñ¤½¦@¥æ³qªº­«­n©Ê¡C
> >
> > and we want the following (where each ¡P denotes a possible break point):
> >
> > §Ú­Ì¡P¤µ¦¸¡Pªº¡P¨Ò·|¡PÁܽСP¨ì¡P³¯¤j¤å±Ð±Â¡PÁ¿¸Ñ¡P¤½¦@¥æ³q¡Pªº¡P­«­n©Ê¡C
> >
> > I expect keep-all to be able to accomplish this, but for some reason I
> > remember being told that this is not in fact the case. The explanation
> > in http://dev.w3.org/csswg/css3-text/ seems to neither confirm nor
> > deny this. Is clarification needed for keep-all, or have I missed
> > something obvious?
>
> Suppose you have a segmentation program that can insert zwsp(s) at word
> boundaries well, you could do that as a preparatory step and you should
> be able to keep words from breaking with 'word-break: keep-all'.
>
>
What if we applied word-break: keep-all to just a few selected parts of the
sentence (say just to prevent the personal name from breaking)? I would
expect that to work (without any zwsp). If that¡¦s not supposed to work then
I think the text for explaining keep-all would need a fair bit of
rewriting.


-- 
cheers,
-ambrose <http://gniw.ca>

Received on Monday, 7 May 2012 17:52:43 UTC