diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-09 12:07:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-03-09 12:07:27 +0000 |
commit | f0de57da10d978a4ceea1dcfad01c6a50d04b467 (patch) | |
tree | 7f33c38cdbf6c0d3b99227a6af6f75ce27a6423c /test/lua/unit/css.lua | |
parent | b1e10ef14ebb91fa2ca1b61494e25fa099e85429 (diff) | |
download | rspamd-f0de57da10d978a4ceea1dcfad01c6a50d04b467.tar.gz rspamd-f0de57da10d978a4ceea1dcfad01c6a50d04b467.zip |
[Project] Css: Add opacity support
Diffstat (limited to 'test/lua/unit/css.lua')
-rw-r--r-- | test/lua/unit/css.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lua/unit/css.lua b/test/lua/unit/css.lua index 86119641e..9f9201191 100644 --- a/test/lua/unit/css.lua +++ b/test/lua/unit/css.lua @@ -100,6 +100,11 @@ body { ]], [[ /* Colors */ +p { color: rgb(100%, 50%, 0%); opacity: -1; } /* 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 */ * { color: hsl(0, 100%, 50%) !important } /* red */ * { color: hsl(120, 100%, 50%) important } /* lime */ * { color: hsl(120, 100%, 25%) } /* dark green */ |