1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>white-space pre: zero width non-breaking space</title>
5 <style type="text/css">
7 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
8 td * { white-space: pre; font: inherit; }
9 div { display: block; }
10 span { display: inline; }
13 td { font: 20px/1 Ahem; color: maroon; background: red; padding: 0; }
14 span { background: lime; }
19 <div class="control">Ahem_font_required_for_this_test.</div>
20 <p>There should be no red below, only a green square bordered in green.</p>
21 <!-- U+00A0 is exactly equivalent to U+200B U+0020 U+200B -->
26 <div><span>X   X</span></div>
27 <div><span>X​ ​ ​ ​X</span></div>
28 <div><span>X ​ ​ X</span></div>