diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-09 12:49:11 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-09 12:49:11 +0000 |
commit | 7e99c501c808a2338017246203b76761cb271fe7 (patch) | |
tree | 347d8f3baaf2b188f3fcfc07c58fa338aedca4d0 /test/lua/unit | |
parent | f0de57da10d978a4ceea1dcfad01c6a50d04b467 (diff) | |
download | rspamd-7e99c501c808a2338017246203b76761cb271fe7.tar.gz rspamd-7e99c501c808a2338017246203b76761cb271fe7.zip |
[Project] Css: Add dimensions handling
Diffstat (limited to 'test/lua/unit')
-rw-r--r-- | test/lua/unit/css.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lua/unit/css.lua b/test/lua/unit/css.lua index 9f9201191..5bb197bf2 100644 --- a/test/lua/unit/css.lua +++ b/test/lua/unit/css.lua @@ -100,11 +100,14 @@ body { ]], [[ /* Colors */ -p { color: rgb(100%, 50%, 0%); opacity: -1; } /* very transparent solid orange */ +p { color: rgb(100%, 50%, 0%); opacity: -1; width: 1em; } /* very transparent solid orange */ p { color: rgb(100%, 50%, 0%); opacity: 2; } /* very transparent solid orange */ p { color: rgb(100%, 50%, 0%); opacity: 0.5; } /* very transparent solid orange */ p { color: rgb(100%, 50%, 0%); opacity: 1; width: 99%; } /* very transparent solid orange */ p { color: rgb(100%, 50%, 0%); opacity: 10%; width: 99%; } /* very transparent solid orange */ +p { color: rgb(100%, 50%, 0%); opacity: 10%; width: 100px; } /* very transparent solid orange */ +p { color: rgb(100%, 50%, 0%); opacity: 10% } /* very transparent solid orange */ + * { color: hsl(0, 100%, 50%) !important } /* red */ * { color: hsl(120, 100%, 50%) important } /* lime */ * { color: hsl(120, 100%, 25%) } /* dark green */ |