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