tor-browser

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

text-decoration-overline-wavy-covers-whole-line-length-001.html (1211B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Text Decoration Test: Wavy overline 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 overline 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    padding-top: 200px;
     17  }
     18  #decoration {
     19    font: 400px/1 Ahem;
     20    color: transparent;
     21    text-decoration-line: overline;
     22    text-decoration-color: green;
     23    text-decoration-style: wavy;
     24    text-decoration-skip-ink: none;
     25  }
     26  #abspos {
     27    position: absolute;
     28    left: -100px;
     29    top: -100px;
     30    width: 480px;
     31    height: 1000px;
     32    background: white;
     33  }
     34 </style>
     35 <p>The test passes if you see some green below (the end of a wavy green text decoration).</p>
     36 <div id="wrapper">
     37  <div id="decoration">X</div>
     38  <div id="abspos"></div>
     39 </div>