1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>CSS Test: word-spacing on Fixed-Width Space Characters
</title>
5 <link rel=
"author" title=
"Elika J. Etemad" href=
"http://fantasai.inkedblade.net/contact">
6 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/text.html#spacing-props">
7 <meta name=
"flags" content=
"">
8 <meta name=
"assert" content=
"Word-spacing does not affect fixed-width spaces.">
9 <style type=
"text/css">
12 font-family: monospace
;
13 page-break-inside: avoid
;
34 <p>In each of the following pairs, the blue and orange bars must have equal lengths.
</p>
36 <!-- IDEOGRAPHIC SPACE -->
37 <div class=
"ws-normal">
38 <p class=
"control"><span>A
    B
</span></p>
39 <p class=
"test"><span>A
    B
</span></p>
42 <p class=
"control"><span>A
    B
</span></p>
43 <p class=
"test"><span>A
    B
</span></p>
47 <div class=
"ws-normal">
48 <p class=
"control"><span>A
    B
</span></p>
49 <p class=
"test"><span>A
    B
</span></p>
52 <p class=
"control"><span>A
    B
</span></p>
53 <p class=
"test"><span>A
    B
</span></p>
57 <div class=
"ws-normal">
58 <p class=
"control"><span>A
    B
</span></p>
59 <p class=
"test"><span>A
    B
</span></p>
62 <p class=
"control"><span>A
    B
</span></p>
63 <p class=
"test"><span>A
    B
</span></p>
67 <div class=
"ws-normal">
68 <p class=
"control"><span>A
    B
</span></p>
69 <p class=
"test"><span>A
    B
</span></p>
72 <p class=
"control"><span>A
    B
</span></p>
73 <p class=
"test"><span>A
    B
</span></p>
77 <div class=
"ws-normal">
78 <p class=
"control"><span>A
    B
</span></p>
79 <p class=
"test"><span>A
    B
</span></p>
82 <p class=
"control"><span>A
    B
</span></p>
83 <p class=
"test"><span>A
    B
</span></p>
86 <!-- THREE-PER-EM SPACE -->
87 <div class=
"ws-normal">
88 <p class=
"control"><span>A
    B
</span></p>
89 <p class=
"test"><span>A
    B
</span></p>
92 <p class=
"control"><span>A
    B
</span></p>
93 <p class=
"test"><span>A
    B
</span></p>
96 <!-- FOUR-PER-EM SPACE -->
97 <div class=
"ws-normal">
98 <p class=
"control"><span>A
    B
</span></p>
99 <p class=
"test"><span>A
    B
</span></p>
102 <p class=
"control"><span>A
    B
</span></p>
103 <p class=
"test"><span>A
    B
</span></p>
106 <!-- SIX-PER-EM SPACE -->
107 <div class=
"ws-normal">
108 <p class=
"control"><span>A
    B
</span></p>
109 <p class=
"test"><span>A
    B
</span></p>
112 <p class=
"control"><span>A
    B
</span></p>
113 <p class=
"test"><span>A
    B
</span></p>
116 <!-- FIGURE SPACE -->
117 <div class=
"ws-normal">
118 <p class=
"control"><span>A
    B
</span></p>
119 <p class=
"test"><span>A
    B
</span></p>
122 <p class=
"control"><span>A
    B
</span></p>
123 <p class=
"test"><span>A
    B
</span></p>
126 <!-- PUNCTUATION SPACE -->
127 <div class=
"ws-normal">
128 <p class=
"control"><span>A
    B
</span></p>
129 <p class=
"test"><span>A
    B
</span></p>
132 <p class=
"control"><span>A
    B
</span></p>
133 <p class=
"test"><span>A
    B
</span></p>
137 <div class=
"ws-normal">
138 <p class=
"control"><span>A
    B
</span></p>
139 <p class=
"test"><span>A
    B
</span></p>
142 <p class=
"control"><span>A
    B
</span></p>
143 <p class=
"test"><span>A
    B
</span></p>
147 <div class=
"ws-normal">
148 <p class=
"control"><span>A
    B
</span></p>
149 <p class=
"test"><span>A
    B
</span></p>
152 <p class=
"control"><span>A
    B
</span></p>
153 <p class=
"test"><span>A
    B
</span></p>
156 <!-- NARROW NO-BREAK SPACE -->
157 <div class=
"ws-normal">
158 <p class=
"control"><span>A
    B
</span></p>
159 <p class=
"test"><span>A
    B
</span></p>
162 <p class=
"control"><span>A
    B
</span></p>
163 <p class=
"test"><span>A
    B
</span></p>
166 <!-- MEDIUM MATHEMATICAL SPACE -->
167 <div class=
"ws-normal">
168 <p class=
"control"><span>A
    B
</span></p>
169 <p class=
"test"><span>A
    B
</span></p>
172 <p class=
"control"><span>A
    B
</span></p>
173 <p class=
"test"><span>A
    B
</span></p>