summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2019-10-01 14:38:48 +0200
committerUrban Müller2019-10-01 14:38:48 +0200
commitbbf17c9125e0c9ce53f77e9144eac691c58ccb3b (patch)
tree14f91f281a6f44bf364a681def33ade6355b0374
parentcddd951dd098beedb29e07743f9abe79b35e38ee (diff)
downloaditools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.tar.gz
itools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.tar.bz2
itools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.zip
more stripping for css validator
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
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",
),