white-space-processing-056.xht (1541B)
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: White space processing model with 'ideographic space' character</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" /> 7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules" /> 8 <link rel="match" href="white-space-processing-056-ref.xht" /> 9 10 <meta name="flags" content="ahem" /> 11 <meta name="assert" content="The 'ideographic space' character is not collapsed by the white space processing model." /> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style type="text/css"> 14 div 15 { 16 font: 1.25em/1 Ahem; 17 } 18 #div1 19 { 20 white-space: normal; 21 } 22 #div2, #div3 23 { 24 background: black; 25 display: inline-block; 26 height: 1em; 27 width: 2em; 28 } 29 #div3 30 { 31 margin-left: 3em; 32 } 33 </style> 34 </head> 35 <body> 36 <p>Test passes if there are 2 small filled black squares.</p> 37 <div id="div1">XX   XX</div> 38 <div id="div2"></div><div id="div3"></div> 39 </body> 40 </html>