text-transform-capitalize-011.html (3345B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>CSS3 Text, text transform: capitalize, Full-width Latin</title> 6 <meta name="assert" content="For the Latin letters in the Halfwidth and Fullwidth Forms Unicode block, text-transform: capitalize puts the first typographic letter unit of each word in titlecase; other characters are unaffected ."> 7 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 8 <link rel='help' href='https://drafts.csswg.org/css-text-3/#text-transform'> 9 <link rel="match" href="reference/text-transform-capitalize-011-ref.html"> 10 <style type='text/css'> 11 @font-face { 12 font-family: 'webfont'; 13 src: url('/fonts/DoulosSIL-R.woff') format('woff'); 14 font-weight: normal; 15 font-style: normal; 16 } 17 .test, .ref { font-size: 125%; line-height: 1.5em; font-family: 'Doulos SIL', 'Noto Sans', webfont, sans-serif; } 18 .test span, .ref span { margin-right: 1em; white-space: nowrap; } 19 /* the CSS above is not part of the test */ 20 .test { text-transform: capitalize; } 21 </style> 22 </head> 23 <body> 24 <p class="instructions">The text is arranged in pairs of three-letter 'words'. Test passes if the words in each pair match<br> 25 If you are missing a font glyph for a character, ignore that pair, but report which characters were ignored.</p> 26 <div class="test"><span title="U+FF41">aaa Aaa</span> <span title="U+FF42">bbb Bbb</span> <span title="U+FF43">ccc Ccc</span> <span title="U+FF44">ddd Ddd</span> <span title="U+FF45">eee Eee</span> <span title="U+FF46">fff Fff</span> <span title="U+FF47">ggg Ggg</span> <span title="U+FF48">hhh Hhh</span> <span title="U+FF49">iii Iii</span> <span title="U+FF4A">jjj Jjj</span> <span title="U+FF4B">kkk Kkk</span> <span title="U+FF4C">lll Lll</span> <span title="U+FF4D">mmm Mmm</span> <span title="U+FF4E">nnn Nnn</span> <span title="U+FF4F">ooo Ooo</span> <span title="U+FF50">ppp Ppp</span> <span title="U+FF51">qqq Qqq</span> <span title="U+FF52">rrr Rrr</span> <span title="U+FF53">sss Sss</span> <span title="U+FF54">ttt Ttt</span> <span title="U+FF55">uuu Uuu</span> <span title="U+FF56">vvv Vvv</span> <span title="U+FF57">www Www</span> <span title="U+FF58">xxx Xxx</span> <span title="U+FF59">yyy Yyy</span> <span title="U+FF5A">zzz Zzz</span></div> 27 </body> 28 </html>