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
;
33 <p>In each of the following pairs, the blue and orange bars must have equal lengths.
</p>
35 <!-- ZERO-WIDTH SPACE -->
36 <div class=
"ws-normal">
37 <p class=
"control"><span>A
​​​​B
</span></p>
38 <p class=
"test"><span>A
​​​​B
</span></p>
41 <p class=
"control"><span>A
​​​​B
</span></p>
42 <p class=
"test"><span>A
​​​​B
</span></p>
45 <!-- ZERO-WIDTH NO-BREAK SPACE -->
46 <div class=
"ws-normal">
47 <p class=
"control"><span>AB
</span></p>
48 <p class=
"test"><span>AB
</span></p>
51 <p class=
"control"><span>AB
</span></p>
52 <p class=
"test"><span>AB
</span></p>
55 <!-- ZERO-WIDTH NON-JOINER -->
56 <div class=
"ws-normal">
57 <p class=
"control"><span>A
‌‌‌‌B
</span></p>
58 <p class=
"test"><span>A
‌‌‌‌B
</span></p>
61 <p class=
"control"><span>A
‌‌‌‌B
</span></p>
62 <p class=
"test"><span>A
‌‌‌‌B
</span></p>
65 <!-- ZERO-WIDTH JOINER -->
66 <div class=
"ws-normal">
67 <p class=
"control"><span>A
‍‍‍‍B
</span></p>
68 <p class=
"test"><span>A
‍‍‍‍B
</span></p>
71 <p class=
"control"><span>A
‍‍‍‍B
</span></p>
72 <p class=
"test"><span>A
‍‍‍‍B
</span></p>