diff options
author | Christian Schneider | 2017-10-05 08:29:14 +0200 |
---|---|---|
committer | Christian Schneider | 2017-10-05 08:29:14 +0200 |
commit | 7d20923534c664bba4e51497d348f3af5c9554d7 (patch) | |
tree | e1f671db4956cea195f740cdf5b1e918e892477e | |
parent | 365cd30d03513a291aea73e1d0c3494b5c69d3d9 (diff) | |
download | itools-7d20923534c664bba4e51497d348f3af5c9554d7.tar.gz itools-7d20923534c664bba4e51497d348f3af5c9554d7.tar.bz2 itools-7d20923534c664bba4e51497d348f3af5c9554d7.zip |
Fix handling of constant() within calc() by changing order of replace
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,8 +56,8 @@ else if (it::match('\.css', $lastfile)) '([^/])\*(\w)' => '$1$2', '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 + '\bcalc\(.*?\)' => "0", # ignore calc() '\bbackground-position-[xy]' => "background-position", ), $data |