summaryrefslogtreecommitdiff
path: root/itjs.php
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.php')
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index 80cc6a7..0913d4e 100644
--- a/itjs.php
+++ b/itjs.php
@@ -57,6 +57,7 @@ else if (it::match('\.css', $lastfile))
'svg\..*' => "", # ignore svg styles
'\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder)
'\bcalc\(.*?\)' => "0", # ignore calc()
+ '\bconstant\(.*?\)' => "0", # ignore constant(), e.g. constant(safe-area-inset-left) for iPhone X
'\bbackground-position-[xy]' => "background-position",
),
$data