tor-browser

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

target-text-006.html (560B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Pseudo-Elements Test: ::target-text color rendering - text rendered once</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-pseudo/#selectordef-target-text">
      5 <link rel="match" href="target-text-two-words-ref.html">
      6 <style>
      7  p.white { color: white; }
      8  p::target-text {
      9    color: black;
     10    background-color: orange;
     11  }
     12 </style>
     13 <p>PASS if the text below is rendered black on an orange background.</p>
     14 <p class="white">match me</p>
     15 <script>
     16  window.location.hash = "#:~:text=match%20me";
     17 </script>