diff options
author | Urban Müller | 2019-10-01 14:38:48 +0200 |
---|---|---|
committer | Urban Müller | 2019-10-01 14:38:48 +0200 |
commit | bbf17c9125e0c9ce53f77e9144eac691c58ccb3b (patch) | |
tree | 14f91f281a6f44bf364a681def33ade6355b0374 /itjs.php | |
parent | cddd951dd098beedb29e07743f9abe79b35e38ee (diff) | |
download | itools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.tar.gz itools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.tar.bz2 itools-bbf17c9125e0c9ce53f77e9144eac691c58ccb3b.zip |
more stripping for css validator
Diffstat (limited to 'itjs.php')
-rw-r--r-- | itjs.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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", ), |