Boris Zbarsky wrote:
> [EMAIL PROTECTED] wrote:
>> 2) a run of spaces at the end of the line can be broken in the middle
>> of the run, allowing spaces to start the next line
> 
> I like that conceptually, but it might lead to oddities when people hit 
> the spacebar twice at the end of a sentence in mailnews near the end of 
> the line...  Similar for textarea rendering and possibly reading 
> plaintext mail.

CSS2.1 defines this:
   http://www.w3.org/TR/CSS21/text.html#q8

Basically, you're allowed to break at the end of sequence of spaces, but
not before. So "word1 word2    " can only break between word1 and word2.
However, the spaces after word2 can be (but do not have to be) "visually
collapsed" to nothing.

I really don't like the idea of collapsing spaces in a plaintext editing
environment. If there are multiple invisible spaces at the end of the line,
they'll appear when the text rewraps to a different width--and that would
often be after the text has been submitted (in a form, via email, etc).

~fantasai
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to