Skip to content
Permalink
Browse files
Docs: fix sibling selector descriptions (#14099)
  • Loading branch information
mdjermanovic committed Feb 12, 2021
1 parent 9d6063a commit f4ac3b0e7072fbd3c14e9c64ff0c2c255a4eb730
Showing 1 changed file with 2 additions and 2 deletions.
@@ -40,8 +40,8 @@ The following selectors are supported:
* nth-last-child (no ax+b support): `:nth-last-child(1)`
* descendant: `FunctionExpression ReturnStatement`
* child: `UnaryExpression > Literal`
* following sibling: `ArrayExpression > Literal + SpreadElement`
* adjacent sibling: `VariableDeclaration ~ VariableDeclaration`
* following sibling: `VariableDeclaration ~ VariableDeclaration`
* adjacent sibling: `ArrayExpression > Literal + SpreadElement`
* negation: `:not(ForStatement)`
* matches-any: `:matches([attr] > :first-child, :last-child)`
* class of AST node: `:statement`, `:expression`, `:declaration`, `:function`, or `:pattern`

0 comments on commit f4ac3b0

Please sign in to comment.