summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/visited-inheritance-ref.html
blob: 64300b13f4291f416eac17f70ff62e2febf604fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>inherited link color when modifying parent</title>
<link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors">
<style>
  div { color: green; }
  a { color: green; }
</style>
<main>
  <div id="parentdiv">
    <a href="" id="link">Visited link should be green</a>
  </div>
</main>