about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/variables.color.expected2
-rw-r--r--test/layout/variables.html13
2 files changed, 14 insertions, 1 deletions
diff --git a/test/layout/variables.color.expected b/test/layout/variables.color.expected
index 59986144..97914b94 100644
--- a/test/layout/variables.color.expected
+++ b/test/layout/variables.color.expected
@@ -1,2 +1,2 @@
 purple                                                                          
-
+test
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>