white-space-002-ref.xht (1417B)
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 div 11 { 12 font: 1em Ahem; 13 line-height: 1em; 14 } 15 #reference 16 { 17 height: 1em; 18 width: 7em; 19 } 20 #div1, #div3 21 { 22 background: black; 23 } 24 #div1, #div2, #div3 25 { 26 display: inline-block; 27 height: 1em; 28 width: 2em; 29 } 30 #div2 31 { 32 height: 1em; 33 width: 3em; 34 } 35 </style> 36 </head> 37 <body> 38 <p>Test passes if there are two black squares on the page.</p> 39 <div id="reference"><div id="div1"></div><div id="div2"></div><div id="div3"></div></div> 40 <div id="reference"><div id="div1"></div><div id="div2"></div><div id="div3"></div></div> 41 </body> 42 </html>