aboutsummaryrefslogtreecommitdiffstats
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.html7
2 files changed, 9 insertions, 0 deletions
diff --git a/test/layout/variables.color.expected b/test/layout/variables.color.expected
new file mode 100644
index 00000000..59986144
--- /dev/null
+++ b/test/layout/variables.color.expected
@@ -0,0 +1,2 @@
+purple 
+
diff --git a/test/layout/variables.html b/test/layout/variables.html
new file mode 100644
index 00000000..cd6d3696
--- /dev/null
+++ b/test/layout/variables.html
@@ -0,0 +1,7 @@
+<style>
+a { --purple: purple; color: var(--purple) }
+div { color: white; --pink: yellow !important; background-color: var(--purple) }
+</style>
+<a>
+<div>purple</div>
+</a>