diff options
author | Christian Schneider | 2017-10-04 09:27:56 +0200 |
---|---|---|
committer | Christian Schneider | 2017-10-04 09:27:56 +0200 |
commit | 365cd30d03513a291aea73e1d0c3494b5c69d3d9 (patch) | |
tree | d5bd2f29296335feb4caac70b7ae67894d679a87 | |
parent | 44559ea5f8341f4364d2f1d6fe16754768950307 (diff) | |
download | itools-365cd30d03513a291aea73e1d0c3494b5c69d3d9.tar.gz itools-365cd30d03513a291aea73e1d0c3494b5c69d3d9.tar.bz2 itools-365cd30d03513a291aea73e1d0c3494b5c69d3d9.zip |
Remove constant() for CSS validator, e.g. constant(safe-area-inset-left) for iPhone X
-rw-r--r-- | itjs.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -57,6 +57,7 @@ else if (it::match('\.css', $lastfile)) '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 '\bbackground-position-[xy]' => "background-position", ), $data |