tor-browser

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

target-text-text-decoration-001.html (680B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Pseudo-Elements Test: ::target-text text-decoration</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-pseudo/#selectordef-target-text">
      5 <link rel="match" href="target-text-text-decoration-001-ref.html">
      6 <meta name="assert" content="This test checks that ::target-text pseudo-element paints text-decorations defined by the pseudo-element.">
      7 <style>
      8  ::target-text {
      9    text-decoration: solid underline magenta;
     10    color: initial;
     11    background: transparent;
     12  }
     13 </style>
     14 <p>The test passes if the following line has a magenta underline.</p>
     15 <div>Example</div>
     16 <script>
     17  location.href = "#:~:text=Example";
     18 </script>