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+
13# hast-util-select [ ![ Build Status] [ travis-badge ]] [ travis ] [ ![ Coverage Status] [ codecov-badge ]] [ codecov ]
24
35` querySelector ` , ` querySelectorAll ` , and ` matches ` for [ HAST] [ ] nodes.
@@ -208,9 +210,13 @@ Yields:
208210* [ ] ‡ ` [*|attr] ` (any namespace attribute)
209211* [ ] ‡ ` [|attr] ` (no namespace attribute)
210212* [ ] ‡ ` [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 >
214220* [ ] † ` :active ` (pseudo-class)
215221* [ ] † ` :current ` (pseudo-class)
216222* [ ] † ` :current() ` (functional pseudo-class)
You can’t perform that action at this time.
0 commit comments