text-decoration-085-manual.html (1211B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>text-decoration line-through tblr</title> 6 <meta name="assert" content="text-decoration:line-through; there is a solid vertical line through the centre of the characters."> 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-through; 25 }</style> 26 </head> 27 <body> 28 <p class="instructions">Test passes if there is a solid vertical line through the centre of the characters.<br/><span class="hint">Skip the test if the text is not vertical.</span></p> 29 <div id="htmlsrc" style="writing-mode:vertical-lr"> 30 <div> 31 <p lang="mn"><span>ᠣᠯᠠᠨ ᠦᠨᠳᠦᠰᠦᠲᠡᠨ ᠦ ᠪᠣᠯᠭᠠᠬᠤ ᠦᠢᠯᠡ ᠠᠵᠢᠯᠯᠠᠭᠠ</span></p> 32 </div> </div> 33 </body> 34 </html>