From 7abcb85ba099de50711cfcb9e92dfc4b0803b9a1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 3 Sep 2013 13:20:33 +0000 Subject: hide pointer-events from validator --- itjs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs.php b/itjs.php index 24cc33e..9f5cc78 100644 --- a/itjs.php +++ b/itjs.php @@ -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)) { -- cgit v1.2.3