white-space-processing-052-ref.xht (1128B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test reference</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net" /> 7 <meta name="flags" content="ahem" /> 8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 9 <style type="text/css"> 10 pre 11 { 12 font: 16px/1em Ahem; 13 margin: 0; 14 padding: 0; 15 } 16 #pre1 17 { 18 white-space: pre-wrap; 19 width: 5em; 20 } 21 #pre2 22 { 23 background: black; 24 display: inline-block; 25 height: 1em; 26 width: 2em; 27 } 28 </style> 29 </head> 30 <body> 31 <p>Test passes if there is one box below.</p> 32 <pre id="pre1">XX<br />XX</pre> 33 <pre id="pre2"></pre> 34 </body> 35 </html>