From bbf17c9125e0c9ce53f77e9144eac691c58ccb3b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 1 Oct 2019 14:38:48 +0200 Subject: more stripping for css validator --- itjs.php | 1 + 1 file changed, 1 insertion(+) (limited to 'itjs.php') diff --git a/itjs.php b/itjs.php index 5ec4ae6..c54d3a4 100644 --- a/itjs.php +++ b/itjs.php @@ -60,6 +60,7 @@ else if (it::match('\.css', $lastfile)) 'svg\..*' => "", # ignore svg styles '\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder) '\benv\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X + '\bmax\(.*?\)' => "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