|
1 | 1 | { |
2 | | - "selectors": |
3 | | - { |
4 | | - "active": {"desc": "Selects the active link"}, |
5 | | - "checked": {"desc": "Selects every checked <input> element"}, |
| 2 | + "classes": { |
| 3 | + "active": {"desc": "Selects the link being pressed"}, |
| 4 | + "any-link": {"desc": "Selects every hyperlink, e.g., <a>, <area> and <link> with href attribute"}, |
| 5 | + "checked": {"desc": "Selects every checked checkbox"}, |
6 | 6 | "default": {"desc": "Selects every UI element that is the default among a group of similar elements"}, |
7 | 7 | "dir(direction)": {"desc": "Selects every element whose text direction is 'direction'", "text": "dir()"}, |
8 | | - "disabled": {"desc": "Selects every disabled <input> element"}, |
9 | | - "empty": {"desc": "Selects every element that has no children/text (including text nodes)"}, |
10 | | - "enabled": {"desc": "Selects every enabled <input> element"}, |
| 8 | + "disabled": {"desc": "Selects every disabled form element"}, |
| 9 | + "empty": {"desc": "Selects every element that has no any child nodes"}, |
| 10 | + "enabled": {"desc": "Selects every enabled form element"}, |
| 11 | + "first": {"desc": "With @page, selects the first page of a printed document"}, |
11 | 12 | "first-child": {"desc": "Selects every element that is the first child of its parent"}, |
12 | | - "first-of-type": {"desc": "Selects every element that is the first element identified by 'type' of its parent"}, |
| 13 | + "first-of-type": {"desc": "Selects every element that is the first element of the specific type of its parent"}, |
13 | 14 | "focus": {"desc": "Selects the input element which has focus"}, |
14 | 15 | "focus-within": {"desc": "Selects every element which or whose descendant has focus"}, |
15 | | - "fullscreen": {"desc": "Selects the element being in full-screen mode"}, |
16 | | - "hover": {"desc": "Selects elements on mouse over"}, |
| 16 | + "fullscreen": {"desc": "Selects the element being in fullscreen mode"}, |
| 17 | + "hover": {"desc": "Selects elements on pointer over"}, |
17 | 18 | "in-range": {"desc": "Selects input elements with a value within a specified range"}, |
18 | | - "indeterminate": {"desc": "Selects every indeterminate checkbox or radio button"}, |
| 19 | + "indeterminate": {"desc": "Selects every indeterminate checkbox, radio button or progress bar"}, |
19 | 20 | "invalid": {"desc": "Selects all input elements with an invalid value"}, |
20 | | - "lang(language)": {"desc": "Selects every element with a lang attribute equal to 'language'", "text": "lang()"}, |
| 21 | + "lang(languages)": {"desc": "Selects every element whose language is contained by the 'languages' list", "text": "lang()"}, |
21 | 22 | "last-child": {"desc": "Selects every element that is the last child of its parent"}, |
22 | | - "last-of-type": {"desc": "Selects every element that is the last element of its parent"}, |
| 23 | + "last-of-type": {"desc": "Selects every element that is the last element of the specific type of its parent"}, |
| 24 | + "left": {"desc": "With @page, selects every left-hand page of a printed document"}, |
23 | 25 | "link": {"desc": "Selects all unvisited links"}, |
24 | 26 | "matches(selectors)": {"desc": "Selects every element that is matched by one or more selectors in the 'selectors' list", "text": "matches()"}, |
25 | | - "not(selector)": {"desc": "Selects every element that is not an element identified by 'selector'", "text": "not()"}, |
26 | | - "nth-child(n)": {"desc": "Selects every element that is the second child of its parent", "text": "nth-child()"}, |
27 | | - "nth-last-child(n)": {"desc": "Selects every element that is the second child of its parent, counting from the last child", "text": "nth-last-child()"}, |
28 | | - "nth-last-of-type(n)": {"desc": "Selects every element that is the nth element of its parent, counting from the last child", "text": "nth-last-of-type()"}, |
29 | | - "nth-of-type(n)": {"desc": "Selects every element that is the nth element of its parent", "text": "nth-of-type(n)"}, |
| 27 | + "not(selectors)": {"desc": "Selects every element that is not matched by any selector in the 'selectors' list", "text": "not()"}, |
| 28 | + "nth-child(n)": {"desc": "Selects every element that is the nth child of its parent", "text": "nth-child()"}, |
| 29 | + "nth-last-child(n)": {"desc": "Selects every element that is the nth child of its parent, counting from the last child", "text": "nth-last-child()"}, |
| 30 | + "nth-last-of-type(n)": {"desc": "Selects every element that is the nth element of the specific type of its parent, counting from the last child", "text": "nth-last-of-type()"}, |
| 31 | + "nth-of-type(n)": {"desc": "Selects every element that is the nth element of the specific type of its parent", "text": "nth-of-type(n)"}, |
30 | 32 | "only-child": {"desc": "Selects every element that is the only child of its parent"}, |
31 | | - "only-of-type": {"desc": "Selects every element that is the only element of this type of its parent"}, |
32 | | - "optional": {"desc": "Selects input elements with no 'required' attribute"}, |
| 33 | + "only-of-type": {"desc": "Selects every element that is the only element of the specific type of its parent"}, |
| 34 | + "optional": {"desc": "Selects non-required form elements"}, |
33 | 35 | "out-of-range": {"desc": "Selects input elements with a value outside a specified range"}, |
34 | 36 | "placeholder-shown": {"desc": "Selects all <input> and <textarea> elements currently showing placeholder text"}, |
35 | | - "read-only": {"desc": "Selects input elements with the 'readonly' attribute specified"}, |
36 | | - "read-write": {"desc": "Selects input elements with the 'readonly' attribute NOT specified"}, |
37 | | - "required": {"desc": "Selects input elements with the 'required' attribute specified"}, |
| 37 | + "read-only": {"desc": "Selects form elements with the 'readonly' attribute specified"}, |
| 38 | + "read-write": {"desc": "Selects form elements with the 'readonly' attribute NOT specified"}, |
| 39 | + "required": {"desc": "Selects required form elements"}, |
| 40 | + "right": {"desc": "With @page, selects every right-hand page of a printed document"}, |
38 | 41 | "root": {"desc": "Selects the document's root element"}, |
39 | | - "target": {"desc": "Selects the current active element (clicked on a URL containing that anchor name)"}, |
| 42 | + "target": {"desc": "Selects the element whose ID matches with the URL hash"}, |
40 | 43 | "valid": {"desc": "Selects all input elements with a valid value"}, |
41 | 44 | "visited": {"desc": "Selects all visited links"} |
42 | 45 | }, |
43 | | - "elements": |
44 | | - { |
45 | | - "after": {"desc": "Insert something after the content of each element identified by this selector"}, |
46 | | - "before": {"desc": "Insert something before the content of each element identified by this selector"}, |
47 | | - "first-letter": {"desc": "Selects the first letter of every element identified by this selector"}, |
48 | | - "first-line": {"desc": "Selects the first line of every element identified by this selector"}, |
49 | | - "placeholder": {"desc": "Selects the placeholder text of <input> and <textarea> elements"}, |
50 | | - "selection": {"desc": "Selects the portion of an element identified by this selector that is selected by a user"} |
| 46 | + "elements": { |
| 47 | + "after": {"desc": "Insert something after the content of each element matched by this selector"}, |
| 48 | + "backdrop": {"desc": "Selects the box rendered immediately below a <dialog> or an element in fullscreen mode"}, |
| 49 | + "before": {"desc": "Insert something before the content of each element matched by this selector"}, |
| 50 | + "cue": {"desc": "Selects the cues of WebVTT subtitles"}, |
| 51 | + "cue(selector)": {"desc": "Selects the cues of WebVTT subtitles, matched by 'selector'", "text": "cue()"}, |
| 52 | + "first-letter": {"desc": "Selects the first letter of every element matched by this selector"}, |
| 53 | + "first-line": {"desc": "Selects the first line of every element matched by this selector"}, |
| 54 | + "placeholder": {"desc": "Selects the placeholder text of <input> and <textarea> elements"}, |
| 55 | + "selection": {"desc": "Selects the portion of an element that is selected by a user"} |
51 | 56 | } |
52 | 57 | } |
0 commit comments