text-emphasis-line-height-001z.html (1083B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Test: text-emphasis line height, top, textarea</title> 4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org"> 5 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 6 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-emphasis-position-property"> 7 <meta name="assert" content="text emphasis marks should expand the line height like ruby if necessary"> 8 <link rel="match" href="text-emphasis-line-height-001-ref.html"> 9 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css"> 10 <style> 11 textarea { 12 all: inherit; 13 font: 25px Ahem; 14 width: 100%; 15 height: 10em; /* ensure there's plenty of height even if the default font is quite tall, 16 to avoid risk of a vertical scrollbar showing up inside textarea */ 17 box-sizing: border-box; 18 border: 0 none; margin: 0; padding: 0; 19 } 20 </style> 21 <p>Pass if the emphasis marks are below the black line:</p> 22 <textarea lang="ja" style="line-height: 1; border-top: 1px solid black; text-emphasis: circle;">試験テスト</textarea>