summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
authorUrban Müller2022-02-18 15:24:07 +0100
committerUrban Müller2022-02-18 15:24:07 +0100
commit2aa4bcbff33fcb4e85aed50884012ffd1c812108 (patch)
treefd827d7ae1d6723220be7fe00e310d8e8c00102e /itjs.php
parent9f8eb21d144b9c753b96bb65d73e692089b19d74 (diff)
downloaditools-2aa4bcbff33fcb4e85aed50884012ffd1c812108.tar.gz
itools-2aa4bcbff33fcb4e85aed50884012ffd1c812108.tar.bz2
itools-2aa4bcbff33fcb4e85aed50884012ffd1c812108.zip
calc() exception no longer necessary, parse causes false pos
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/itjs.php b/itjs.php
index ed0fe3f..fe39f6d 100644
--- a/itjs.php
+++ b/itjs.php
@@ -60,8 +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()
+ '\bmax\(.*?\)' => "0",
'\bbackground-position-[xy]' => "background-position",
),
$data