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 Zero-Width 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 zero-width characters.">
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 <!-- ZERO-WIDTH 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>
46 <!-- ZERO-WIDTH NO-BREAK SPACE -->
47 <div class=
"ws-normal">
48 <p class=
"control"><span>AB
</span></p>
49 <p class=
"test"><span>AB
</span></p>
52 <p class=
"control"><span>AB
</span></p>
53 <p class=
"test"><span>AB
</span></p>
56 <!-- ZERO-WIDTH NON-JOINER -->
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>
66 <!-- ZERO-WIDTH JOINER -->
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>