tor-browser

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

css-target-text-decoration-001.html (903B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>CSS Highlight API Test: ::target-text text-decoration</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-highlight-api-1/">
      6 <link rel="match" href="css-target-text-decoration-001-ref.html">
      7 <meta name="assert" content="This test checks that text-decorations of target text are fully rendered.">
      8 <meta name="fuzzy" content="0-60;0-38">
      9 <script src="/common/reftest-wait.js"></script>
     10 <style>
     11  ::target-text {
     12    text-decoration: wavy underline overline green 5px;
     13    text-underline-offset: 20px;
     14    background-color: transparent;
     15  }
     16  div {
     17    border: solid 1px black;
     18    padding: 50px;
     19  }
     20 </style>
     21 <div id="upper">The word remain has under/over lines.</div>
     22 <script>
     23  window.location.href = `css-target-text-decoration-001.html#:~:text=remain`;
     24  requestAnimationFrame(() => takeScreenshot());
     25 </script>
     26 </html>