white-space-processing-015-ref.xht (914B)
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>test reference</title> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style type="text/css"> 7 span 8 { 9 background-color: black; 10 font-family: Ahem; 11 white-space: nowrap; 12 } 13 #div1 14 { 15 background: blue; 16 display: inline-block; 17 height: 1em; 18 width: 5em; 19 } 20 </style> 21 </head> 22 <body> 23 <p>Test passes if there is one black box below and it is at least as long as the blue box (it can be longer).</p> 24 <div> 25 <span>XX XX</span> 26 </div> 27 <div id="div1"></div> 28 </body> 29 </html>