tor-browser

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

has-visited-ref.html (713B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>:has combined with :visited/:link</title>
      4 <link rel="author" title="Byungwoo Lee" href="mailto:blee@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/selectors/#relational">
      6 <style>
      7  #parent1 {
      8    color: green;
      9  }
     10  #parent2 {
     11    color: black;
     12  }
     13  #parent3 {
     14    color: yellowgreen;
     15  }
     16 </style>
     17 <main>
     18  <div id=parent1>
     19    <div>parent color should be green with <a href="">visited link</a>.</div>
     20  </div>
     21  <div id=parent2>
     22    <div>parent color should be black with <a href="unvisited">unvisited link</a>.</div>
     23  </div>
     24  <div id=parent3>
     25    <div>parent color should be yellowgreen with <a href="unvisited">any link</a>.</div>
     26  </div>
     27 </main>