text-decoration-line-040-manual.html (1984B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>text-decoration-line underline tbrl hor scripts</title> 6 <meta name="assert" content="text-decoration-line:underline; there is a line to the LEFT of the characters for horizontal scripts set vertically using writing-mode: vertical-rl"> 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-line:underline; 25 }</style> 26 </head> 27 <body> 28 <p class="instructions">Test passes if there is a line to the LEFT of the characters for all lines.<br/><span class="hint">Skip the test if the text is not vertical.</span></p> 29 <div id="htmlsrc" style="writing-mode:vertical-rl"> 30 31 <div> 32 <p lang="en"><span>The quick brown fox jumps over the lazy dog.</span></p> 33 <p lang="ar"><span>وب جهانی را بهدرستی جهانی سازیم!</span></p> 34 <p lang="my"><span>အပြည်ပြည်ဆိုင်ရာလှုပ်ရှားမှု၊</span></p> 35 <p lang="th"><span>กูกินกุ้งปิ้งอยู่ในถ้ำ กูกินกุ้งปิ้งอยู่ในถ้ำ</span></p> 36 <p lang="bo"><span>འཛམ་གླིང་ཡོངས་འབྲེལ་འདི་ ངོ་མ་འབད་རང་ འཛམ་གླིང་ཡོངས་ལུ་ཁྱབ་ཚུགསཔ་བཟོ་བ།</span></p> 37 <p lang="hi"><span>वर्ल्ड वाईड वेब को सचमुच विश्वव्यापी बना रहें हैं !</span></p--> 38 </div> </div> 39 </body> 40 </html>