Specificity

Represents a node specificity.


Description Description

This component is a port of the Python cssselect library, which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.

See also See also


Top ↑

Source Source

File: vendor/symfony/css-selector/Node/Specificity.php


			

Top ↑

Methods Methods

  • __construct — Constructor.
  • compareTo — Returns -1 if the object specificity is lower than the argument, 0 if they are equal, and 1 if the argument is lower.
  • getValue — Returns global specificity value.
  • plus

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.