text-transform-capitalize-031.html (1014B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>CSS3 Text, text transform: capitalize, initial punctuation</title> 6 <meta name="assert" content="text-transform: uppercase ignores characters that are not typographic letter units and capitalizes the first typographic letter unit in a word."> 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-031-ref.html"> 10 <style type='text/css'> 11 .test, .ref { font-size: 36px; font-family: 'Doulos SIL', 'Noto Serif', 'Noto Sans', sans-serif; border: 1px solid orange; margin: 10px; padding: 5px; } 12 /* the CSS above is not part of the test */ 13 .test { text-transform: capitalize ; } 14 </style> 15 </head> 16 <body> 17 <p class="instructions">Test passes if the orange boxes are identical.</p> 18 <div class="test">({[-–"«'.<?!transform</div> 19 <div class="ref">({[-–"«'.<?!Transform</div> 20 </body> 21 </html>