text-underline-position-075-manual.html (1541B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>text-underline-position right vertical-rl</title> 6 <meta name="assert" content="text-decoration:underline; text-underline-position:right; the line is to the right of the characters for all lines"> 7 <link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"> 8 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#line-decoration"> 9 <!-- cosmetic styling --> 10 <style> 11 #htmlsrc { margin: 2em; } 12 #htmlsrc p { 13 font-size: 28px; 14 border-radius: 5px; 15 line-height: 1.5; 16 } 17 .hint { color: brown; font-family: sans-serif; font-size: 90%; } 18 .hint:before { content: '❗ '; } 19 :lang(mn) { font-family: "Mongolian Baiti", "Noto sans Mongolian", serif; } 20 </style> 21 <!-- the test --> 22 <style> 23 div span { 24 text-decoration:underline; 25 text-underline-position:right; 26 }</style> 27 </head> 28 <body> 29 <p class="instructions">Test passes if the line is to the RIGHT of the characters for all lines.<br/><span class="hint">Skip the test if the text is not vertical.</span></p> 30 <div id="htmlsrc" style="writing-mode:vertical-rl"> 31 32 <div> 33 <p lang="zh"><span>引发网络的全部潜能</span><span>引發網絡的全部潛能</span></p> 34 <p lang="ja"><span>可能性を最大限に</span><span>導き出すために</span></p> 35 <p lang="mn"><span>ᠣᠯᠠᠨ ᠦᠨᠳᠦᠰ</span><span>ᠦᠲᠡᠨ ᠦ ᠪᠣᠯᠭᠠᠬᠤ ᠦᠢᠯᠡ ᠠᠵᠢᠯᠯᠠᠭᠠ</span></p> 36 <p lang="en"><span>The quick brown f</span><span>ox jumps over the lazy dog.</span></p> 37 </div> </div> 38 </body> 39 </html>