summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-03-21 14:54:50 +0100
committerUrban Müller2016-03-21 14:54:50 +0100
commit9e45485779b333d568e2db425f6ed028872604ac (patch)
tree85d0d768411f55d8c1dbacc08d285c27f6355c85
parent6e1f18a4c02ec4dbdf14cdac3a82d2a4e014c015 (diff)
downloaditools-9e45485779b333d568e2db425f6ed028872604ac.tar.gz
itools-9e45485779b333d568e2db425f6ed028872604ac.tar.bz2
itools-9e45485779b333d568e2db425f6ed028872604ac.zip
validator does not accept calc() yet
-rw-r--r--itjs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/itjs.php b/itjs.php
index a1e5a0f..7c8998e 100644
--- a/itjs.php
+++ b/itjs.php
@@ -56,6 +56,7 @@ else if (it::match('\.css', $file))
'([^/])\*(\w)' => '$1$2',
'svg\..*' => "", # ignore svg styles
'\battr\(.*?\)' => "'x'", # ignore content:attr(placeholder)
+ '\bcalc\(.*?\)' => "0", # ignore calc()
),
$data
);