summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html b/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html
new file mode 100644
index 0000000000..e67b972768
--- /dev/null
+++ b/testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<title>CSS Cascade: all:unset in :visited</title>
+<style>
+ :root { color: green; }
+ a:visited { color: red; }
+ a:visited { color: unset; }
+</style>
+<a href="">Test passes if this text is green.</a>