/**
  * {@inheritdoc}
  */
 public function getSpecificity()
 {
     return $this->selector->getSpecificity()->plus($this->subSelector->getSpecificity());
 }
 /**
  * {@inheritdoc}
  */
 public function getSpecificity()
 {
     return $this->selector->getSpecificity()->plus(new Specificity(0, 1, 0));
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 public function getSpecificity()
 {
     return $this->tree->getSpecificity()->plus(new Specificity(0, 0, $this->pseudoElement ? 1 : 0));
 }