white-space-pre-011-ref.html (870B)
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 width: 16ch; 17 } 18 </style> 19 20 <body> 21 22 <p>Test passes if the characters inside of each black-bordered rectangles are laid out identically. Only "Dolor" should be outside of black-bordered rectangles. 23 24 <div id="reference">Lorem ipsum. Dolor<br> 25 sit amet. <br> 26 consectetur</div> 27 28 <div id="reference">Lorem ipsum. Dolor<br> 29 sit amet. <br> 30 consectetur</div>