Skip to content

Commit

Permalink
Docs: fix sibling selector descriptions (#14099)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Feb 12, 2021
1 parent 9d6063a commit f4ac3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/developer-guide/selectors.md
Expand Up @@ -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`
Expand Down

0 comments on commit f4ac3b0

Please sign in to comment.