text-transform-tailoring-004.html (1133B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"/> 5 <title>CSS3 Text, text transform: capitalize, Greek initial stress</title> 6 <meta name="assert" content="[Exploratory] the brower tailors text-transform: capitalize such that a stressed vowel that is the first syllable of a Greek sentence keeps its tonos diacritic."> 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-tailoring-004-ref.html"> 10 <style type='text/css'> 11 .test, .ref { font-size: 36px; font-family: 'Gentium Plus', 'Noto Serif', 'Noto Sans', webfont, sans-serif; border: 1px solid orange; margin: 10px; width: 200px; 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" lang="el">όμηρος</div> 19 <div class="ref">Όμηρος</div> 20 <!-- Notes: 21 The result of this test should be ignored if text-transform-tailoring-002 fails. 22 --> 23 </body> 24 </html>