tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

text-decoration-line-through-wavy-covers-whole-line-length-001.html (1199B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Decoration Test: Wavy line-through covers the whole line length</title>
      4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-line-property">
      6 <meta name="assert" content="Checks that a wavy line-through covers the whole line length.">
      7 <link rel="mismatch" href="reference/text-decoration-wavy-covers-whole-line-length-001-notref.html">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      9 <style>
     10  body {
     11    overflow: hidden;
     12  }
     13  #wrapper {
     14    position: absolute;
     15    margin: 100px;
     16  }
     17  #decoration {
     18    font: 400px/1 Ahem;
     19    color: transparent;
     20    text-decoration-line: line-through;
     21    text-decoration-color: green;
     22    text-decoration-style: wavy;
     23    text-decoration-skip-ink: none;
     24  }
     25  #abspos {
     26    position: absolute;
     27    left: -100px;
     28    top: -100px;
     29    width: 480px;
     30    height: 1000px;
     31    background: white;
     32  }
     33 </style>
     34 <p>The test passes if you see some green below (the end of a wavy green text decoration).</p>
     35 <div id="wrapper">
     36  <div id="decoration">X</div>
     37  <div id="abspos"></div>
     38 </div>