Lines Matching refs:css
43 * @param array $css contains the class csstidy
47 function csstidy_optimise(&$css) argument
49 $this->parser =& $css;
50 $this->css =& $css->css;
51 $this->sub_value =& $css->sub_value;
52 $this->at =& $css->at;
53 $this->selector =& $css->selector;
54 $this->property =& $css->property;
55 $this->value =& $css->value;
71 foreach ($this->css as $medium => $value)
73 $this->merge_selectors($this->css[$medium]);
79 foreach ($this->css as $medium => $value)
83 …$this->css[$medium][$selector] = csstidy_optimise::merge_4value_shorthands($this->css[$medium][$se…
89 … $this->css[$medium][$selector] = csstidy_optimise::merge_bg($this->css[$medium][$selector]);
90 if (empty($this->css[$medium][$selector])) {
91 unset($this->css[$medium][$selector]);
140 unset($this->css[$this->at][$this->selector]['background']);
148 unset($this->css[$this->at][$this->selector][$this->property]);
437 $css = $array;
438 foreach($css as $key => $value)
440 if(!isset($css[$key]))
449 foreach($css as $selector => $vali)
456 if($css[$key] === $vali)
465 unset($css[$key]);
468 unset($css[$selector]);
471 $css[$newsel] = $value;
474 $array = $css;