public static class PseudoClasses.ONLY_CHILD extends PseudoClass
:first-child:last-child or :nth-child(1):nth-last-child(1), but with
a lower specificity.| Constructor and Description |
|---|
ONLY_CHILD() |
| 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