word-spacing-002-ref.html (833B)
1 <!DOCTYPE html> 2 <title>CSS Text Reference: Word Spacing</title> 3 <link rel="stylesheet" href="/fonts/ahem.css"> 4 <meta name="flags" content="ahem"> 5 <style> 6 /* We use Ahem to avoid very minor differences between the test and the 7 reference that occur with certain font+platform combinations. */ 8 div { font-family: Ahem, monospace; font-size: 20px; white-space: pre; } 9 div .ws { margin: -1ch; } 10 </style> 11 <body> 12 <p>Test passes if the space between the words starts at zero and increases by 13 an even amount on each subsequent line.</p> 14 <div class="ws0">A <span class="ws">Bc</span> Def <span class="ws">Ghij</span></div> 15 <div class="ws1">A Bc Def Ghij</div> 16 <div class="ws2">A Bc Def Ghij</div> 17 <div class="ws3">A Bc Def Ghij</div> 18 <div class="ws4">A Bc Def Ghij</div> 19 </body>