Convert none vals to 0
Paramètres
(string) prop: Current Property:
(string) val: property value:
1 call to CSSCompression_Individuals::none()
- CSSCompression_Individuals::individuals dans advagg_css_compress/
css-compressor-3.x/ src/ lib/ Individuals.inc - Runs special unit/directional compressions
Fichier
-
advagg_css_compress/
css-compressor-3.x/ src/ lib/ Individuals.inc, line 268
Classe
- 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;
}