tor-browser

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

target-text-001.html (627B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Pseudo-Elements Test: ::target-text color rendering - basic</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-pseudo/#selectordef-target-text">
      5 <link rel="match" href="target-text-lime-green-ref.html">
      6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      7 <style>
      8  .ahem { font-family: Ahem; }
      9  p::target-text {
     10    color: lime;
     11    background-color: green;
     12  }
     13 </style>
     14 <p>PASS if there are two segments of lime squares with a green square between below.</p>
     15 <p class="ahem">match me</p>
     16 <script>
     17  window.location.hash = "#:~:text=match%20me";
     18 </script>