diff options
author | Urban Müller | 2013-09-03 13:20:33 +0000 |
---|---|---|
committer | Urban Müller | 2013-09-03 13:20:33 +0000 |
commit | 7abcb85ba099de50711cfcb9e92dfc4b0803b9a1 (patch) | |
tree | 530b7cb21e3784d85d7053a1f6b48e042bf4e98f | |
parent | d6962074f09a541ea47fadd7f1c1ad068420b8a6 (diff) | |
download | itools-7abcb85ba099de50711cfcb9e92dfc4b0803b9a1.tar.gz itools-7abcb85ba099de50711cfcb9e92dfc4b0803b9a1.tar.bz2 itools-7abcb85ba099de50711cfcb9e92dfc4b0803b9a1.zip |
hide pointer-events from validator
-rw-r--r-- | itjs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ else if (it::match('\.css', $_SERVER['PHP_SELF'])) if (!it::match('^devel', $GLOBALS['ULTRASERVERTYPE'])) $data = it::replace(array('[ \t]*([{};])[ \t]*' => '$1', '/\*.*?\*/' => ""), $data); if (it::match('W3C_CSS_Validator', $_SERVER['HTTP_USER_AGENT']) || EDC('w3c')) - $data = it::replace(array('@-.*' => "", 'background[^;}]*(gradient|rgba)[^;}]*;?' => "", '(filter:\s*(progid|none)|text-overflow:|zoom:|-webkit-|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); + $data = it::replace(array('@-.*' => "", 'background[^;}]*(gradient|rgba)[^;}]*;?' => "", '(filter:\s*(progid|none)|text-overflow:|zoom:|-webkit-|display:-moz-|-moz-|-o-|cursor:|border-radius:|behavior:|\w+:expression)[^;}]*;?' => "", 'pointer-events:[^;}]*' => "", 'html\.ie6.*' => "", '([^/])\*(\w)' => '$1$2'), $data); } else if (it::match('\.htc$', $file)) { |