white-space-applies-to-003-ref.xht (1320B)
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 body 11 { 12 margin-left: 2em; 13 } 14 div 15 { 16 font: 16px/1em Ahem; 17 } 18 #test 19 { 20 display: list-item; 21 } 22 #ref1, #ref2 23 { 24 background: black; 25 display: inline-block; 26 height: 1em; 27 width: 2em; 28 } 29 #ref2 30 { 31 margin-left: 3em; 32 } 33 </style> 34 </head> 35 <body> 36 <p>Test passes if there are two squares below and the left most square has a marker bullet on the left-hand side.</p> 37 <div id="test">XX XX</div> 38 <div id="ref1"></div><div id="ref2"></div> 39 </body> 40 </html>