From f0de57da10d978a4ceea1dcfad01c6a50d04b467 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 9 Mar 2021 12:07:27 +0000 Subject: [Project] Css: Add opacity support --- test/lua/unit/css.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/lua/unit/css.lua') 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 */ -- cgit v1.2.3