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