word-spacing-001-ref.html (1215B)
1 <!DOCTYPE html> 2 <title>CSS Text Test: Word Spacing</title> 3 <link rel="author" title="Nicholas Nethercote" href="mailto:nnethercote@mozilla.com"> 4 <link rel="stylesheet" href="/fonts/ahem.css"> 5 <meta name="flags" content="ahem"> 6 <style> 7 @font-face { 8 font-family: Ahem; 9 src: url(/fonts/Ahem.ttf); 10 } 11 /* We use Ahem to avoid very minor differences between the test and the 12 reference that occur with certain font+platform combinations. */ 13 div { font-family: Ahem; font-size: 20px; } 14 span.padoneem { padding-left: 1em; } 15 </style> 16 <body> 17 <p>Test passes if the space between the words starts at zero and increases by 18 one on each subsequent line.</p> 19 <div>ABcDefGhij</div> 20 <div>A Bc Def Ghij</div> 21 <div>A Bc Def Ghij</div> 22 <div>A Bc Def Ghij</div> 23 <div>A Bc Def Ghij</div> 24 <div>A Bc Def Ghij</div> 25 <div>A <span class="padoneem">Bc <span class="padoneem">Def <span class="padoneem">Ghij <span class="padoneem"></div> 26 </body>