summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-07-04 15:12:26 +0200
committerUrban Müller2022-07-04 15:12:26 +0200
commit75f9844eb428c10d9603a8d0dcd68b2548d96051 (patch)
treedc266bd627469b011535d4b312496a86db745599
parent960842296e3cb38f00be2f83dd37aa12dd4aef4e (diff)
downloaditools-75f9844eb428c10d9603a8d0dcd68b2548d96051.tar.gz
itools-75f9844eb428c10d9603a8d0dcd68b2548d96051.tar.bz2
itools-75f9844eb428c10d9603a8d0dcd68b2548d96051.zip
clip-path is supported on mobile browsers
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index fe39f6d..feb403a 100644
--- a/itjs.php
+++ b/itjs.php
@@ -61,6 +61,7 @@ else if (it::match('\.css', $lastfile))
'\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder)
'\benv\(.*?\)' => "0", # ignore env(), e.g. env(safe-area-inset-left) for iPhone X
'\bmax\(.*?\)' => "0",
+ '\bclip-path:[^;}]*' => "",
'\bbackground-position-[xy]' => "background-position",
),
$data