[css-text] white-space: pre-wrap

I was re-reading NY F2F minutes[1] on the topic and came up with a few
questions. Clarifications appreciated.

1. There's a resolution saying:
  RESOLVED: pre-wrap preserves all spaces visibly and allows
            wrapping before and after every space (to go into level
            3 and mark as at risk)
but this is not in the ED yet, am I correct? I remember I saw some PR from
Florian (thank you for that) and would like to confirm this isn't done yet.

2. The resolved behavior would give you a bit strange experience if a word
ends at the right margin, then you'd see the space character on the
beginning of the next line. Are we sure we want this behavior?

3. I saw the discussion saying:
  Similar to Word behavior.
  So IE probably has the best behavior but isn't spec compliant.
  We should fix it.
but Word does not wrap at spaces, it just overflows to the right margin, so
the same as Chrome/Safari.

4. In IE, as far as I looked at it, repetitive space characters cause wrap,
but not by allowing break before and after space characters. It looks like
"word + one or more spaces" is treated as unbreakable. The resolution above
looks like different from IE, different from Word, and different from any
other implementations.

An old bug in Chromium[2] got my attention recently, but the resolution
does not look to give the desired behavior to me. Could someone clarify?

[1] https://lists.w3.org/Archives/Public/www-style/2015May/0281.html
[2] http://crbug.com/76113

/koji

Received on Tuesday, 25 August 2015 14:00:09 UTC