summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/variables-visited.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-visited/variables-visited.html')
-rw-r--r--layout/reftests/css-visited/variables-visited.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/css-visited/variables-visited.html b/layout/reftests/css-visited/variables-visited.html
new file mode 100644
index 0000000000..ec7cf71e7a
--- /dev/null
+++ b/layout/reftests/css-visited/variables-visited.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<style>
+ a {
+ --foo: green;
+ }
+
+ :visited {
+ --foo: red;
+ color: var(--foo);
+ }
+</style>
+<a href="visited-page.html">Which color?</a>