Lines Matching refs:parser

49         $this->parser    =& $css;
65 if ($this->parser->get_cfg('preserve_css')) {
69 if ($this->parser->get_cfg('merge_selectors') == 2)
77 if ($this->parser->get_cfg('optimise_shorthands') > 0)
85 if ($this->parser->get_cfg('optimise_shorthands') < 2) {
113 …$this->parser->log('Optimised shorthand notation ('.$this->property.'): Changed "'.$this->value.'"…
121 $this->parser->log('Optimised !important','Information');
134 … if(!$this->parser->get_cfg('optimise_shorthands') || $this->parser->get_cfg('preserve_css')) {
138 if($this->property == 'background' && $this->parser->get_cfg('optimise_shorthands') > 1)
141 …$this->parser->merge_css_blocks($this->at,$this->selector,csstidy_optimise::dissolve_short_bg($thi…
145 …$this->parser->merge_css_blocks($this->at,$this->selector,csstidy_optimise::dissolve_4value_shorth…
169 if($this->property == 'font-weight' && $this->parser->get_cfg('compress_font-weight'))
180 $this->parser->log('Optimised font-weight: Changed "bold" to "700"','Information');
185 … $this->parser->log('Optimised font-weight: Changed "normal" to "400"','Information');
193 …$this->parser->log('Fixed invalid number: Changed "'.$this->sub_value.'" to "'.$temp.'"','Warning'…
195 …$this->parser->log('Optimised number: Changed "'.$this->sub_value.'" to "'.$temp.'"','Information'…
199 if($this->parser->get_cfg('compress_colors'))
205 …$this->parser->log('Fixed invalid color name: Changed "'.$this->sub_value.'" to "'.$temp.'"','Warn…
207 …$this->parser->log('Optimised color: Changed "'.$this->sub_value.'" to "'.$temp.'"','Information');