summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html
blob: 598d3f5edc1ea7d389a25e4765ab811ffe45cc7d (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<title>CSS Cascade: all:unset in :visited</title>
<link rel="help" href="https://drafts.csswg.org/css-cascade/#all-shorthand">
<link rel="match" href="all-prop-unset-visited-ref.html">
<style>
  :root { color: green; }
  a:visited { color: red; }
  a:visited { all: unset; }
</style>
<a href="">Test passes if this text is green.</a>