first-letter-004.html (786B)
1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Test: ::first-letter formatting</title> 6 <link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com"> 7 <link rel="match" href="first-letter-004-ref.html"> 8 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo"> 9 <meta name="assert" content="Test checks that punctuation and letters with combining characters still have proper ::first-letter styling."> 10 <style> 11 div { 12 font-size: 36px; 13 } 14 div::first-letter { 15 color: green; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if the "T" and surrounding punctuation below are green.</p> 21 <div>၎̀T̀၎̀est</div> 22 </body> 23 </html>