Interface ICssSelector

    • Method Detail

      • calculateSpecificity

        int calculateSpecificity()
        Calculates the specificity.
        Returns:
        the specificity
      • matches

        boolean matches​(INode node)
        Checks if a node matches the selector.
        Parameters:
        node - the node
        Returns:
        true, if the selector is a match for the node