File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ <!-- lint disable no-html-->
2
+
1
3
# hast-util-select [ ![ Build Status] [ travis-badge ]] [ travis ] [ ![ Coverage Status] [ codecov-badge ]] [ codecov ]
2
4
3
5
` querySelector ` , ` querySelectorAll ` , and ` matches ` for [ HAST] [ ] nodes.
@@ -208,9 +210,13 @@ Yields:
208
210
* [ ] ‡ ` [*|attr] ` (any namespace attribute)
209
211
* [ ] ‡ ` [|attr] ` (no namespace attribute)
210
212
* [ ] ‡ ` [attr=value i] ` (attribute case-insensitive)
211
- * [ ] ‡ ` :has() ` (functional pseudo class)
212
- * [ ] ‖ ` :nth-child(n of S) ` (scoped to parent S)
213
- * [ ] ‖ ` :nth-last-child(n of S) ` (scoped to parent S)
213
+ * [ ] ‡ ` :has() ` (functional pseudo-class).
214
+ <small >Relative selectors (` :has(> img) ` ) are not supported, but scope is
215
+ (` :has(:scope > img) ` ) </small >
216
+ * [ ] ‖ ` :nth-child(n of S) ` (functional pseudo-class).
217
+ <small >Scoping to parents is not supported</small >
218
+ * [ ] ‖ ` :nth-last-child(n of S) ` (scoped to parent S).
219
+ <small >Scoping to parents is not supported</small >
214
220
* [ ] † ` :active ` (pseudo-class)
215
221
* [ ] † ` :current ` (pseudo-class)
216
222
* [ ] † ` :current() ` (functional pseudo-class)
You can’t perform that action at this time.
0 commit comments