diff options
Diffstat (limited to 'test/layout')
| -rw-r--r-- | test/layout/variables.color.expected | 2 | ||||
| -rw-r--r-- | test/layout/variables.html | 7 |
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 @@ +[38;2;255;255;255m[48;2;128;0;128mpurple[39m [49m + 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> |