CSS2 Test Suite: 16.4 word-spacing

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

.cl1 {word-spacing: 0.3in;}
.cl2 {word-spacing: 0.5cm;}
.cl3 {word-spacing: 5mm;}
.cl4 {word-spacing: 3pt;}
.cl5 {word-spacing: 0.25pc;}
.cl6 {word-spacing: 1em;}
.cl7 {word-spacing: 1ex;}
.cl8 {word-spacing: 5px;}
.cl9 {word-spacing: normal;}
.cl10 {word-spacing: 300%;}
.cl11 {word-spacing: -0.2em;}
.cl12 {font-size: 14px; word-spacing: 1em;}
.cl13 {font-size: 8px; word-spacing: inherit;}

[cl1] The words in this paragraph should have extra space between them.

[cl2] The words in this paragraph should have extra space between them.

[cl3] The words in this paragraph should have extra space between them.

[cl4] The words in this paragraph should have extra space between them.

[cl5] The words in this paragraph should have extra space between them.

[cl6] The words in this paragraph should have extra space between them.

[cl7] The words in this paragraph should have extra space between them.

[cl8] The words in this paragraph should have extra space between them, but the last few words in the sentence [cl9] should show normal spacing.

[cl10] The words in this paragraph should have normal space between them, since percentage values are not allowed on this property.

[cl11] The words in this paragraph should have reduced space between them, since negative values are allowed on this property.

[cl12] This is a DIV with fourteen-pixel text, and word-spacing of fourteen pixels (1em). It contains a paragraph which should inherit the computed value of fourteen pixels. And now:

[cl13] This is the paragraph with the eight-pixel text. It should, however, have fourteen-pixel letter-spacing. If it has eight-pixel spacing, then inherit is not supported for this property. The paragraph ends here.

Here we return to the DIV, which also ends here.

[index page] [section] [Previous] [Next] [Specification]