http://www.w3.org/TR/CSS2/text.html#white-space-model (my attention):
If the "white space" is set to "normal", "nowrap" or "pre-line"
- each tab (U + 0009) is converted to space (U + 0020)
- any space (U + 0020) after the next space (U + 0020) - even the space before the built-in , if this space also has a "white space" set to "normal", "nowrap" or 'pre-line' - is deleted.
Thus, the behavior that you see is absolutely correct: all spaces are flushed from the reverse side forward, so the previous spaces are not red (they are collapsed into the "space in front of the built-in"), and the final one - other spaces fall into it).
I have no idea what βold browsersβ you refer to, but it was probably a fix in their engine somewhere along the way, since it had been in standards like this for several years.
Update: Standards were not specified in this in 2008 , when CSS2 was last updated, but was explicit in the final versions of CSS 2.1 in 2011 . Therefore, it is not very strange that browsers were not uniform as to how to handle this.
source share