Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-text-decor/text-emphasis-line-height-001z.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test: text-emphasis line height, top, textarea</title>
<meta name="assert" content="text emphasis marks should expand the line height like ruby if necessary">
<link rel="match" href="text-emphasis-line-height-001-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
textarea {
  all: inherit;
  font: 25px Ahem;
  width: 100%;
  height: 10em; /* ensure there's plenty of height even if the default font is quite tall,
                   to avoid risk of a vertical scrollbar showing up inside textarea */
  box-sizing: border-box;
  border: 0 none; margin: 0; padding: 0;
}
</style>
<p>Pass if the emphasis marks are below the black line:</p>
<textarea lang="ja" style="line-height: 1; border-top: 1px solid black; text-emphasis: circle;">試験テスト</textarea>