From e757700542633a24e71da19d6e9496b8763e118d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 2 Jan 2018 21:23:45 +0100 Subject: env() does not validate yet --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index 556cde9..d61284c 100644 --- a/itjs.php +++ b/itjs.php @@ -56,7 +56,7 @@ else if (it::match('\.css', $lastfile)) '([^/])\*(\w)' => '$1$2', 'svg\..*' => "", # ignore svg styles '\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder) - '\bconstant\(.*?\)' => "0", # ignore constant(), e.g. constant(safe-area-inset-left) for iPhone X + '\benv\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X '\bcalc\(.*?\)' => "0", # ignore calc() '\bbackground-position-[xy]' => "background-position", ), -- cgit v1.2.3