white-space-001-ref.xht (1411B)
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 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 10 <style type="text/css"> 11 div 12 { 13 font: 1em Ahem; 14 line-height: 1em; 15 } 16 #reference 17 { 18 height: 1em; 19 width: 5em; 20 } 21 #div1, #div3 22 { 23 background: black; 24 } 25 #div1, #div2, #div3 26 { 27 display: inline-block; 28 height: 1em; 29 width: 2em; 30 } 31 #div2 32 { 33 height: 1em; 34 width: 1em; 35 } 36 </style> 37 </head> 38 <body> 39 <p>Test passes if there are 2 filled black squares.</p> 40 <div id="reference"><div id="div1"></div><div id="div2"></div><div id="div3"></div></div> 41 <div id="reference"><div id="div1"></div><div id="div2"></div><div id="div3"></div></div> 42 </body> 43 </html>