about summary refs log tree commit diff stats
path: root/test/layout/variables.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout/variables.html')
-rw-r--r--test/layout/variables.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/layout/variables.html b/test/layout/variables.html
index cd6d3696..330659a9 100644
--- a/test/layout/variables.html
+++ b/test/layout/variables.html
@@ -1,7 +1,20 @@
 <style>
 a { --purple: purple; color: var(--purple) }
 div { color: white; --pink: yellow !important; background-color: var(--purple) }
+#test {
+	--test: var(--test2);
+	--test2: var(--test);
+	--test3: var(--test4);
+	--test4: red;
+	--test5: var(--test6,var(--test7));
+	--test7: var(--test6,var(--test5));
+	color: var(--test);
+	color: var(--test3);
+	background-color: var(--test5);
+}
+</style>
 </style>
 <a>
 <div>purple</div>
 </a>
+<span id=test>test</span>