white-space-processing-005-ref.xht (768B)
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 div 8 { 9 font-family: Ahem; 10 height: 1em; 11 margin-bottom: 3px; 12 width: 3em; 13 } 14 #div2 15 { 16 background-color: blue; 17 } 18 </style> 19 </head> 20 <body> 21 <p>Test passes if the black box below is shorter than the blue box.</p> 22 <div id="div1">XX</div> 23 <div id="div2"></div> 24 </body> 25 </html>