text-decoration-003-manual.html (842B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>text-decoration line-through</title> 6 <meta name="assert" content="text-decoration:line-through; there is a solid 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 </style> 18 <!-- the test --> 19 <style> 20 div span { 21 text-decoration:line-through; 22 }</style> 23 </head> 24 <body> 25 <p class="instructions">Test passes if there is a solid line through the centre of the characters.</p> 26 <div id="htmlsrc"> 27 28 <div> 29 <p lang="en"><span>The quick brown fox jumps over the lazy dog.</span></p> 30 </div> </div> 31 </body> 32 </html>