public static class PseudoClasses.ONLY_OF_TYPE extends PseudoClass
:first-of-type:last-of-type or
:nth-of-type(1):nth-last-of-type(1), but with a lower specificity.| Constructor and Description |
|---|
ONLY_OF_TYPE() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Node node)
Returns
true if node matches the pseudo-class. |
getPseudoClassName, matchInRangepublic boolean match(Node node)
PseudoClasstrue if node matches the pseudo-class.match in class PseudoClass