summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/variables-visited.html
blob: ec7cf71e7a678ac62aac6b04c5f2ce9afbabf5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<style>
  a {
    --foo: green;
  }

  :visited {
    --foo: red;
    color: var(--foo);
  }
</style>
<a href="visited-page.html">Which color?</a>