Convert none vals to 0
Parameters
(string) prop: Current Property:
(string) val: property value:
1 call to CSSCompression_Individuals::none()
- CSSCompression_Individuals::individuals in advagg_css_compress/
css-compressor-3.x/ src/ lib/ Individuals.inc - Runs special unit/directional compressions
File
-
advagg_css_compress/
css-compressor-3.x/ src/ lib/ Individuals.inc, line 268
Class
- CSSCompression_Individuals
- CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com
Code
private function none($prop, $val) {
if (preg_match($this->rnoneprop, $prop) && $val == 'none') {
$val = '0';
}
return $val;
}