white-space-normal-011-ref.html (639B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reference Test</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <style> 10 div 11 { 12 border: black solid 2px; 13 font-family: monospace; 14 font-size: 32px; 15 margin-bottom: 0.25em; 16 white-space: pre; 17 width: 16ch; 18 } 19 </style> 20 21 <body> 22 23 <p>Test passes if the characters inside of each black-bordered rectangles are laid out identically. 24 25 <div id="reference">Lorem ipsum. 26 Dolor sit amet. 27 consectetur</div> 28 29 <div id="reference">Lorem ipsum. 30 Dolor sit amet. 31 consectetur</div>