tor-browser

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

highlight-cascade-005-ref.html (830B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Pseudo-Elements Test: highlight cascade: inheritance with both universal and non-universal rules</title>
      4 <link rel="author" title="Delan Azabani" href="mailto:dazabani@igalia.com">
      5 <script src="support/selections.js"></script>
      6 <link rel="stylesheet" href="../support/highlights.css">
      7 <style>
      8    nav::selection,
      9    span::selection,
     10    b::selection,
     11    aside::selection {
     12        background-color: green;
     13        color: white;
     14    }
     15    main::selection,
     16    i::selection {
     17        background-color: green;
     18        color: yellow;
     19    }
     20 </style>
     21 <nav class="highlight_reftest">white</nav>
     22 <main class="highlight_reftest">yellow <span>white <b>white</b></span></main>
     23 <aside class="highlight_reftest">white <i>yellow</i></aside>
     24 <script>selectNodeContents(document.body);</script>