combining-characters-002.xht (1126B)
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: Combining characters and styling</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#ctrlchars" /> 7 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo"/> 8 <meta name="assert" content="The combined characters are styled as one character. 9 (according to css3, the styling of a typographical ccharacter unit split by an element boundary is undefined. 10 However, this test is still fine because ::first-letter selects the whole character unit.)" /> 11 <style type="text/css"> 12 div:first-letter 13 { 14 text-transform: uppercase; 15 } 16 </style> 17 </head> 18 <body> 19 <p>Test passes if the character below is an uppercase 'o' with an accent above it.</p> 20 <div>o<span>́</span></div> 21 </body> 22 </html>