white-space-processing-031-ref.xht (1058B)
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 <style type="text/css"> 8 div 9 { 10 height: 1em; 11 } 12 #div2, #div3 13 { 14 background: black; 15 display: inline-block; 16 height: 1em; 17 width: 1em; 18 } 19 #div3 20 { 21 margin-left: 2em; 22 } 23 </style> 24 </head> 25 <body> 26 <p>Test passes if there are only two boxes below.</p> 27 <div> 28 <div id="div2"></div><div id="div3"></div> 29 </div> 30 <div> 31 <div id="div2"></div><div id="div3"></div> 32 </div> 33 </body> 34 </html>