2.1.101 [CSS-Level2-2009] Section 16.6.1, The 'white-space' processing model

V0158:

The specification states:

 1. Each tab (U+0009), carriage return (U+000D), or space (U+0020) character 
 surrounding a linefeed (U+000A) character is removed if 'white-space' is set to 
 'normal', 'nowrap', or 'pre-line'.

Quirks Mode and IE7 Mode (All Versions)

The pre-line value of the white-space property is not supported.

V0159:

The specification states:

 3.  If a space (U+0020) at the end of a line has 'white-space' set to 'normal', 
 'nowrap', or 'pre-
 line', it is also removed.

Quirks Mode and IE7 Mode (All Versions)

White space at the end of the line is not removed.

V0259:

The specification states:

 If 'white-space' is set to 'pre' or 'pre-wrap', any sequence of spaces (U+0020) 
 unbroken by an element boundary is treated as a sequence of non-breaking spaces. 
 However, for 'pre-wrap', a line breaking opportunity exists at the end of the 
 sequence.

Quirks Mode and IE7 Mode (All Versions)

The pre-wrap value of the white-space property is not supported, and is treated as normal so that sequences of spaces are collapsed.

V0260:

The specification states:

 As each line is laid out,
  
 1. If a space (U+0020) at the beginning of a line has 'white-space' set to 
 'normal', 'nowrap', or 'pre-line', it is removed.

IE8 Mode and IE9 Mode (All Versions)

A space at the beginning of the line is removed if the white-space property is set to pre-wrap.

Quirks Mode (All Versions)

A space at the beginning of the line is removed if the white-space property is set to pre.

V0261:

The specification states:

 2. All tabs (U+0009) are rendered as a horizontal shift that lines up the start 
 edge of the next glyph with the next tab stop. Tab stops occur at points that are 
 multiples of 8 times the width of a space (U+0020) rendered in the block's font 
 from the block's starting content edge.

Quirks Mode (All Versions)

Tabs are not rendered.

Show: