Lines Matching refs:specificity
170 protected $specificity = 0; variable in css_simple_selector
296 $this->specificity = $a * 100 + $b *10 + $c;
392 return $this->specificity;
413 protected $specificity = array(); variable in css_selector
428 $specificity = 0;
449 $specificity += $selector [$size]['selector']->getSpecificity();
473 $this->specificity [] = $specificity;
476 $specificity = 0;
483 $specificity += $selector [$size]['selector']->getSpecificity();
485 $this->specificity [] = $specificity;
631 * @param integer $specificity Specificity of matching selector
634 public function matches (iElementCSSMatchable $element, &$specificity) { argument
637 $specificity = 0;
640 if ($this->specificity [$index] > $specificity) {
641 $specificity = $this->specificity [$index];
779 * @param integer $specificity Specificity of matching selector
783 public function matches(iElementCSSMatchable $element, &$specificity, $media = NULL) { argument
792 $result = $this->selector->matches($element, $specificity);
1063 $matched = $rule->matches($element, $specificity, $this->media);
1069 if ( !empty ($current) && $specificity >= $highest) {
1070 $highest = $specificity;
1099 $matched = $rule->matches ($element, $specificity, $this->media);
1107 if (isset($highest [$property]) && $specificity >= $highest [$property]) {
1108 $highest [$property] = $specificity;