white-space-pre-wrap-trailing-spaces-002-ref.html (522B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>CSS test Reference</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 div { 8 font-size: 20px; 9 font-family: Ahem; 10 line-height: 1em; 11 white-space: pre-wrap; 12 } 13 #test { color: orange; } 14 #ref { color: blue; } 15 </style> 16 17 <p>This test passes if the orange blocks below are vertically aligned with the blue ones. 18 19 <div id=test>X X X X</div> 20 <div id=ref>X X X X</div>