@webref/css 6.22.0 → 6.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/selectors.json CHANGED
@@ -34,7 +34,8 @@
34
34
  {
35
35
  "name": ":defined",
36
36
  "prose": "In some host languages, elements can have a distinction between being “defined”/“constructed” or not. The :defined pseudo-class matches elements that are fully defined, as dictated by the host language.",
37
- "href": "https://drafts.csswg.org/selectors-4/#defined-pseudo"
37
+ "href": "https://drafts.csswg.org/selectors-4/#defined-pseudo",
38
+ "value": ":defined"
38
39
  },
39
40
  {
40
41
  "name": ":dir()",
@@ -49,67 +50,80 @@
49
50
  {
50
51
  "name": ":any-link",
51
52
  "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
52
- "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo"
53
+ "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
54
+ "value": ":any-link"
53
55
  },
54
56
  {
55
57
  "name": ":link",
56
58
  "prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
57
- "href": "https://drafts.csswg.org/selectors-4/#link-pseudo"
59
+ "href": "https://drafts.csswg.org/selectors-4/#link-pseudo",
60
+ "value": ":link"
58
61
  },
59
62
  {
60
63
  "name": ":visited",
61
64
  "prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
62
- "href": "https://drafts.csswg.org/selectors-4/#visited-pseudo"
65
+ "href": "https://drafts.csswg.org/selectors-4/#visited-pseudo",
66
+ "value": ":visited"
63
67
  },
64
68
  {
65
69
  "name": ":local-link",
66
70
  "prose": "The :local-link pseudo-class allows authors to style hyperlinks based on the users current location within a site. It represents an element that is the source anchor of a hyperlink whose target’s absolute URL matches the element’s own document URL. If the hyperlink’s target includes a fragment URL, then the fragment URL of the current URL must also match; if it does not, then the fragment URL portion of the current URL is not taken into account in the comparison.",
67
- "href": "https://drafts.csswg.org/selectors-4/#local-link-pseudo"
71
+ "href": "https://drafts.csswg.org/selectors-4/#local-link-pseudo",
72
+ "value": ":local-link"
68
73
  },
69
74
  {
70
75
  "name": ":target",
71
76
  "prose": "The :target pseudo-class matches the document’s target elements. If the document’s URL has no fragment identifier, then the document has no target elements.",
72
- "href": "https://drafts.csswg.org/selectors-4/#target-pseudo"
77
+ "href": "https://drafts.csswg.org/selectors-4/#target-pseudo",
78
+ "value": ":target"
73
79
  },
74
80
  {
75
81
  "name": ":target-within",
76
82
  "prose": "The :target-within pseudo-class applies to any element to which the :target pseudo-class applies as well as to any element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :target.",
77
- "href": "https://drafts.csswg.org/selectors-4/#target-within-pseudo"
83
+ "href": "https://drafts.csswg.org/selectors-4/#target-within-pseudo",
84
+ "value": ":target-within"
78
85
  },
79
86
  {
80
87
  "name": ":scope",
81
88
  "prose": "In some contexts, selectors are matched with respect to one or more scoping roots, such as when calling the querySelector() method in [DOM]. The :scope pseudo-class represents this scoping root, and may be either a true element or a virtual one (such as a DocumentFragment).",
82
- "href": "https://drafts.csswg.org/selectors-4/#scope-pseudo"
89
+ "href": "https://drafts.csswg.org/selectors-4/#scope-pseudo",
90
+ "value": ":scope"
83
91
  },
84
92
  {
85
93
  "name": ":hover",
86
94
  "prose": "The :hover pseudo-class applies while the user designates an element (or pseudo-element) with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element. Interactive user agents that cannot detect hovering due to hardware limitations (e.g., a pen device that does not detect hovering) are still conforming; the selector will simply never match in such a UA.",
87
- "href": "https://drafts.csswg.org/selectors-4/#hover-pseudo"
95
+ "href": "https://drafts.csswg.org/selectors-4/#hover-pseudo",
96
+ "value": ":hover"
88
97
  },
89
98
  {
90
99
  "name": ":active",
91
100
  "prose": "The :active pseudo-class applies while an element is being “activated” by the user, as defined by the host language; for example, while a hyperlink is being triggered.",
92
- "href": "https://drafts.csswg.org/selectors-4/#active-pseudo"
101
+ "href": "https://drafts.csswg.org/selectors-4/#active-pseudo",
102
+ "value": ":active"
93
103
  },
94
104
  {
95
105
  "name": ":focus",
96
106
  "prose": "The :focus pseudo-class applies while an element (or pseudo-element) has the focus (accepts keyboard or other forms of input).",
97
- "href": "https://drafts.csswg.org/selectors-4/#focus-pseudo"
107
+ "href": "https://drafts.csswg.org/selectors-4/#focus-pseudo",
108
+ "value": ":focus"
98
109
  },
99
110
  {
100
111
  "name": ":focus-visible",
101
112
  "prose": "While the :focus pseudo-class always matches the currently-focused element, UAs only sometimes visibly indicate focus (such as by drawing a “focus ring”), instead using a variety of heuristics to visibly indicate the focus only when it would be most helpful to the user. The :focus-visible pseudo-class matches a focused element (or pseudo-element) in these situations only, allowing authors to change the appearance of the focus indicator without changing when a focus indicator appears.",
102
- "href": "https://drafts.csswg.org/selectors-4/#focus-visible-pseudo"
113
+ "href": "https://drafts.csswg.org/selectors-4/#focus-visible-pseudo",
114
+ "value": ":focus-visible"
103
115
  },
104
116
  {
105
117
  "name": ":focus-within",
106
118
  "prose": "The :focus-within pseudo-class applies to any element (or pseudo-element) for which the :focus pseudo-class applies, as well as to an element (or pseudo-element) whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus.",
107
- "href": "https://drafts.csswg.org/selectors-4/#focus-within-pseudo"
119
+ "href": "https://drafts.csswg.org/selectors-4/#focus-within-pseudo",
120
+ "value": ":focus-within"
108
121
  },
109
122
  {
110
123
  "name": ":current",
111
124
  "prose": "The :current pseudo-class represents the element, or an ancestor of the element, that is currently being displayed.",
112
- "href": "https://drafts.csswg.org/selectors-4/#current-pseudo"
125
+ "href": "https://drafts.csswg.org/selectors-4/#current-pseudo",
126
+ "value": ":current"
113
127
  },
114
128
  {
115
129
  "name": ":current()",
@@ -119,172 +133,206 @@
119
133
  {
120
134
  "name": ":past",
121
135
  "prose": "The :past pseudo-class represents any element that is defined to occur entirely prior to a :current element. For example, the WebVTT spec defines the :past pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) previous sibling of a :current element.",
122
- "href": "https://drafts.csswg.org/selectors-4/#past-pseudo"
136
+ "href": "https://drafts.csswg.org/selectors-4/#past-pseudo",
137
+ "value": ":past"
123
138
  },
124
139
  {
125
140
  "name": ":future",
126
141
  "prose": "The :future pseudo-class represents any element that is defined to occur entirely after a :current element. For example, the WebVTT spec defines the :future pseudo-class relative to the current playback position of a media element. If a time-based order of elements is not defined by the document language, then this represents any element that is a (possibly indirect) next sibling of a :current element.",
127
- "href": "https://drafts.csswg.org/selectors-4/#future-pseudo"
142
+ "href": "https://drafts.csswg.org/selectors-4/#future-pseudo",
143
+ "value": ":future"
128
144
  },
129
145
  {
130
146
  "name": ":playing",
131
147
  "prose": "The :playing pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “playing”. (This includes both when the element is explicitly playing, and when it’s temporarily stopped for some reason not connected to user intent, but will automatically resume when that reason is resolved, such as a “buffering” or “stalled” state.)",
132
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-playing"
148
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-playing",
149
+ "value": ":playing"
133
150
  },
134
151
  {
135
152
  "name": ":paused",
136
153
  "prose": "The :paused pseudo-class represents an element that is capable of being “played” or “paused”, when that element is “paused” (i.e. not ”playing”). (This includes both an explicit “paused” state, and other non-playing states like “loaded, hasn’t been activated yet”, etc.)",
137
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-paused"
154
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-paused",
155
+ "value": ":paused"
138
156
  },
139
157
  {
140
158
  "name": ":seeking",
141
159
  "prose": "The :seeking pseudo-class represents an element that is capable of ”seeking” when that element is ”seeking”. (For the audio and video elements of HTML, see HTML § 4.8.11.9 Seeking.)",
142
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-seeking"
160
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-seeking",
161
+ "value": ":seeking"
143
162
  },
144
163
  {
145
164
  "name": ":buffering",
146
165
  "prose": "The :buffering pseudo-class represents an element that is capable of being “played” or “paused”, when that element cannot continue playing because it is actively attempting to obtain media data but has not yet obtained enough data to resume playback. (Note that the element is still considered to be “playing” when it is “buffering”. Whenever :buffering matches an element, :playing also matches the element.)",
147
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-buffering"
166
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-buffering",
167
+ "value": ":buffering"
148
168
  },
149
169
  {
150
170
  "name": ":stalled",
151
171
  "prose": "The :stalled pseudo-class represents an element when that element cannot continue playing because it is actively attempting to obtain media data but it has failed to receive any data for some amount of time. For the audio and video elements of HTML, this amount of time is the media element stall timeout. [HTML] (Note that, like with the :buffering pseudo-class, the element is still considered to be “playing” when it is “stalled”. Whenever :stalled matches an element, :playing also matches the element.)",
152
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-stalled"
172
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-stalled",
173
+ "value": ":stalled"
153
174
  },
154
175
  {
155
176
  "name": ":muted",
156
177
  "prose": "The :muted pseudo-class represents an element that is capable of making sound, but is currently “muted“ (forced silent). (For the audio and video elements of HTML, see muted. [HTML])",
157
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-muted"
178
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-muted",
179
+ "value": ":muted"
158
180
  },
159
181
  {
160
182
  "name": ":volume-locked",
161
183
  "prose": "The :volume-locked pseudo-class represents an element that is capable of making sound, and currently has its volume \"locked\" by the UA or the user, so the page author cannot change it. (For the audio and video elements of HTML, see the algorithm for setting the element’s effective media volume. [HTML])",
162
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-volume-locked"
184
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-volume-locked",
185
+ "value": ":volume-locked"
163
186
  },
164
187
  {
165
188
  "name": ":open",
166
189
  "prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state.",
167
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-open"
190
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-open",
191
+ "value": ":open"
168
192
  },
169
193
  {
170
194
  "name": ":popover-open",
171
195
  "prose": "The :popover-open pseudo-class represents an element that has both “popover-showing” and “popover-hidden” states and which is currently in the “popover-showing” state.",
172
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-popover-open"
196
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-popover-open",
197
+ "value": ":popover-open"
173
198
  },
174
199
  {
175
200
  "name": ":modal",
176
201
  "prose": "The :modal pseudo-class represents an element which is in a state that excludes all interaction with elements outside it until it has been dismissed. Multiple elements can be :modal simultaneously, with only one of them active (able to receive input).",
177
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-modal"
202
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-modal",
203
+ "value": ":modal"
178
204
  },
179
205
  {
180
206
  "name": ":fullscreen",
181
207
  "prose": "The :fullscreen pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the screen, such as that defined by the Fullscreen API. [FULLSCREEN]",
182
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-fullscreen"
208
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-fullscreen",
209
+ "value": ":fullscreen"
183
210
  },
184
211
  {
185
212
  "name": ":picture-in-picture",
186
213
  "prose": "The :picture-in-picture pseudo-class represents an element which is displayed in a mode that takes up most (usually all) of the viewport, and whose viewport is confined to part of the screen while being displayed over other content, for example when using the Picture-in-Picture API. [picture-in-picture]",
187
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-picture-in-picture"
214
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-picture-in-picture",
215
+ "value": ":picture-in-picture"
188
216
  },
189
217
  {
190
218
  "name": ":enabled",
191
219
  "prose": "The :enabled pseudo-class represents user interface elements that are in an enabled state; such elements must have a corresponding disabled state.",
192
- "href": "https://drafts.csswg.org/selectors-4/#enabled-pseudo"
220
+ "href": "https://drafts.csswg.org/selectors-4/#enabled-pseudo",
221
+ "value": ":enabled"
193
222
  },
194
223
  {
195
224
  "name": ":disabled",
196
225
  "prose": "Conversely, the :disabled pseudo-class represents user interface elements that are in a disabled state; such elements must have a corresponding enabled state.",
197
- "href": "https://drafts.csswg.org/selectors-4/#disabled-pseudo"
226
+ "href": "https://drafts.csswg.org/selectors-4/#disabled-pseudo",
227
+ "value": ":disabled"
198
228
  },
199
229
  {
200
230
  "name": ":read-write",
201
231
  "prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
202
- "href": "https://drafts.csswg.org/selectors-4/#read-write-pseudo"
232
+ "href": "https://drafts.csswg.org/selectors-4/#read-write-pseudo",
233
+ "value": ":read-write"
203
234
  },
204
235
  {
205
236
  "name": ":read-only",
206
237
  "prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
207
- "href": "https://drafts.csswg.org/selectors-4/#read-only-pseudo"
238
+ "href": "https://drafts.csswg.org/selectors-4/#read-only-pseudo",
239
+ "value": ":read-only"
208
240
  },
209
241
  {
210
242
  "name": ":placeholder-shown",
211
243
  "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
212
- "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo"
244
+ "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
245
+ "value": ":placeholder-shown"
213
246
  },
214
247
  {
215
248
  "name": ":autofill",
216
249
  "prose": "The :autofill pseudo-class represents input elements that have been automatically filled by the user agent, and have not been subsequently altered by the user.",
217
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-autofill"
250
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-autofill",
251
+ "value": ":autofill"
218
252
  },
219
253
  {
220
254
  "name": ":default",
221
255
  "prose": "The :default pseudo-class applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons and select lists/menus.",
222
- "href": "https://drafts.csswg.org/selectors-4/#default-pseudo"
256
+ "href": "https://drafts.csswg.org/selectors-4/#default-pseudo",
257
+ "value": ":default"
223
258
  },
224
259
  {
225
260
  "name": ":checked",
226
261
  "prose": "Radio and checkbox elements can be toggled by the user. Some menu items are “checked” when the user selects them. When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked.",
227
- "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo"
262
+ "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
263
+ "value": ":checked"
228
264
  },
229
265
  {
230
266
  "name": ":indeterminate",
231
267
  "prose": "The :indeterminate pseudo-class applies to UI elements whose value is in an indeterminate state. For example, radio and checkbox elements can be toggled between checked and unchecked states, but are sometimes in an indeterminate state, neither checked nor unchecked. Similarly a progress meter can be in an indeterminate state when the percent completion is unknown. For example, [HTML5] defines how checkboxes can be made to match :indeterminate.",
232
- "href": "https://drafts.csswg.org/selectors-4/#indeterminate-pseudo"
268
+ "href": "https://drafts.csswg.org/selectors-4/#indeterminate-pseudo",
269
+ "value": ":indeterminate"
233
270
  },
234
271
  {
235
272
  "name": ":blank",
236
273
  "prose": "The :blank pseudo-class applies to user-input elements whose input value is empty (consists of the empty string or otherwise null input).",
237
- "href": "https://drafts.csswg.org/selectors-4/#blank-pseudo"
274
+ "href": "https://drafts.csswg.org/selectors-4/#blank-pseudo",
275
+ "value": ":blank"
238
276
  },
239
277
  {
240
278
  "name": ":valid",
241
279
  "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
242
- "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo"
280
+ "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
281
+ "value": ":valid"
243
282
  },
244
283
  {
245
284
  "name": ":invalid",
246
285
  "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
247
- "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo"
286
+ "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
287
+ "value": ":invalid"
248
288
  },
249
289
  {
250
290
  "name": ":in-range",
251
291
  "prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\".",
252
- "href": "https://drafts.csswg.org/selectors-4/#in-range-pseudo"
292
+ "href": "https://drafts.csswg.org/selectors-4/#in-range-pseudo",
293
+ "value": ":in-range"
253
294
  },
254
295
  {
255
296
  "name": ":out-of-range",
256
297
  "prose": "The :in-range and :out-of-range pseudo-classes apply only to elements that have range limitations. An element is :in-range or :out-of-range when the value that the element is bound to is in range or out of range with respect to its range limits as defined by the document language. An element that lacks data range limits or is not a form control is neither :in-range nor :out-of-range. E.g. a slider element with a value of 11 presented as a slider control that only represents the values from 1-10 is :out-of-range. Another example is a menu element with a value of \"E\" that happens to be presented in a popup menu that only has choices \"A\", \"B\" and \"C\".",
257
- "href": "https://drafts.csswg.org/selectors-4/#out-of-range-pseudo"
298
+ "href": "https://drafts.csswg.org/selectors-4/#out-of-range-pseudo",
299
+ "value": ":out-of-range"
258
300
  },
259
301
  {
260
302
  "name": ":required",
261
303
  "prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional.",
262
- "href": "https://drafts.csswg.org/selectors-4/#required-pseudo"
304
+ "href": "https://drafts.csswg.org/selectors-4/#required-pseudo",
305
+ "value": ":required"
263
306
  },
264
307
  {
265
308
  "name": ":optional",
266
309
  "prose": "A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to can be validly submitted. Elements that are not form elements are neither required nor optional.",
267
- "href": "https://drafts.csswg.org/selectors-4/#optional-pseudo"
310
+ "href": "https://drafts.csswg.org/selectors-4/#optional-pseudo",
311
+ "value": ":optional"
268
312
  },
269
313
  {
270
314
  "name": ":user-invalid",
271
315
  "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
272
- "href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo"
316
+ "href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo",
317
+ "value": ":user-invalid"
273
318
  },
274
319
  {
275
320
  "name": ":user-valid",
276
321
  "prose": "The :user-invalid and the :user-valid pseudo-classes represent an element with incorrect or correct input, respectively, but only after the user has significantly interacted with it. Their purpose is to help the user identify mistakes in their input.",
277
- "href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo"
322
+ "href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo",
323
+ "value": ":user-valid"
278
324
  },
279
325
  {
280
326
  "name": ":root",
281
327
  "prose": "The :root pseudo-class represents an element that is the root of the document.",
282
- "href": "https://drafts.csswg.org/selectors-4/#root-pseudo"
328
+ "href": "https://drafts.csswg.org/selectors-4/#root-pseudo",
329
+ "value": ":root"
283
330
  },
284
331
  {
285
332
  "name": ":empty",
286
333
  "prose": "The :empty pseudo-class represents an element that has no children except, optionally, document white space characters. In terms of the document tree, only element nodes and content nodes (such as [DOM] text nodes, and entity references) whose data has a non-zero length must be considered as affecting emptiness; comments, processing instructions, and other nodes must not affect whether an element is considered empty or not.",
287
- "href": "https://drafts.csswg.org/selectors-4/#empty-pseudo"
334
+ "href": "https://drafts.csswg.org/selectors-4/#empty-pseudo",
335
+ "value": ":empty"
288
336
  },
289
337
  {
290
338
  "name": ":nth-child()",
@@ -299,17 +347,20 @@
299
347
  {
300
348
  "name": ":first-child",
301
349
  "prose": "The :first-child pseudo-class represents an element that if first among its inclusive siblings. Same as :nth-child(1).",
302
- "href": "https://drafts.csswg.org/selectors-4/#first-child-pseudo"
350
+ "href": "https://drafts.csswg.org/selectors-4/#first-child-pseudo",
351
+ "value": ":first-child"
303
352
  },
304
353
  {
305
354
  "name": ":last-child",
306
355
  "prose": "The :last-child pseudo-class represents an element that is last among its inclusive siblings. Same as :nth-last-child(1).",
307
- "href": "https://drafts.csswg.org/selectors-4/#last-child-pseudo"
356
+ "href": "https://drafts.csswg.org/selectors-4/#last-child-pseudo",
357
+ "value": ":last-child"
308
358
  },
309
359
  {
310
360
  "name": ":only-child",
311
361
  "prose": "The :only-child pseudo-class represents an element that has no siblings. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity.",
312
- "href": "https://drafts.csswg.org/selectors-4/#only-child-pseudo"
362
+ "href": "https://drafts.csswg.org/selectors-4/#only-child-pseudo",
363
+ "value": ":only-child"
313
364
  },
314
365
  {
315
366
  "name": ":nth-of-type()",
@@ -324,37 +375,44 @@
324
375
  {
325
376
  "name": ":first-of-type",
326
377
  "prose": "The :first-of-type pseudo-class represents the same element as :nth-of-type(1).",
327
- "href": "https://drafts.csswg.org/selectors-4/#first-of-type-pseudo"
378
+ "href": "https://drafts.csswg.org/selectors-4/#first-of-type-pseudo",
379
+ "value": ":first-of-type"
328
380
  },
329
381
  {
330
382
  "name": ":last-of-type",
331
383
  "prose": "The :last-of-type pseudo-class represents the same element as :nth-last-of-type(1).",
332
- "href": "https://drafts.csswg.org/selectors-4/#last-of-type-pseudo"
384
+ "href": "https://drafts.csswg.org/selectors-4/#last-of-type-pseudo",
385
+ "value": ":last-of-type"
333
386
  },
334
387
  {
335
388
  "name": ":only-of-type",
336
389
  "prose": "The :only-of-type pseudo-class represents the same element as :first-of-type:last-of-type.",
337
- "href": "https://drafts.csswg.org/selectors-4/#only-of-type-pseudo"
390
+ "href": "https://drafts.csswg.org/selectors-4/#only-of-type-pseudo",
391
+ "value": ":only-of-type"
338
392
  },
339
393
  {
340
394
  "name": ">",
341
395
  "prose": "A child combinator describes a childhood relationship between two elements. A child combinator is made of the \"greater-than sign\" (U+003E, >) code point and separates two compound selectors.",
342
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-child"
396
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-child",
397
+ "value": "'>'"
343
398
  },
344
399
  {
345
400
  "name": "+",
346
401
  "prose": "The next-sibling combinator is made of the “plus sign” (U+002B, +) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector immediately precedes the element represented by the second one. Non-element nodes (e.g. text between elements) are ignored when considering the adjacency of elements.",
347
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-adjacent"
402
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-adjacent",
403
+ "value": "'+'"
348
404
  },
349
405
  {
350
406
  "name": "~",
351
407
  "prose": "The subsequent-sibling combinator is made of the \"tilde\" (U+007E, ~) code point that separates two compound selectors. The elements represented by the two compound selectors share the same parent in the document tree and the element represented by the first compound selector precedes (not necessarily immediately) the element represented by the second one.",
352
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-sibling"
408
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-sibling",
409
+ "value": "'~'"
353
410
  },
354
411
  {
355
412
  "name": "||",
356
413
  "prose": "The column combinator, which consists of two pipes (||) represents the relationship of a column element to a cell element belonging to the column it represents. Column membership is determined based on the semantics of the document language only: whether and how the elements are presented is not considered. If a cell element belongs to more than one column, it is represented by a selector indicating membership in any of those columns.",
357
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-column"
414
+ "href": "https://drafts.csswg.org/selectors-4/#selectordef-column",
415
+ "value": "'|' '|'"
358
416
  },
359
417
  {
360
418
  "name": ":nth-col()",
package/webvtt.json CHANGED
@@ -9,7 +9,8 @@
9
9
  {
10
10
  "name": "::cue",
11
11
  "prose": "The ::cue pseudo-element (with no argument) matches any list of WebVTT Node Objects constructed for the matched element, with the exception that the properties corresponding to the background shorthand must be applied to the WebVTT cue background box rather than the list of WebVTT Node Objects.",
12
- "href": "https://w3c.github.io/webvtt/#selectordef-cue"
12
+ "href": "https://w3c.github.io/webvtt/#selectordef-cue",
13
+ "value": "::cue"
13
14
  },
14
15
  {
15
16
  "name": "::cue()",
@@ -19,7 +20,8 @@
19
20
  {
20
21
  "name": "::cue-region",
21
22
  "prose": "The ::cue-region pseudo-element (with no argument) matches any list of WebVTT region objects constructed for the matched element.",
22
- "href": "https://w3c.github.io/webvtt/#selectordef-cue-region"
23
+ "href": "https://w3c.github.io/webvtt/#selectordef-cue-region",
24
+ "value": "::cue-region"
23
25
  },
24
26
  {
25
27
  "name": "::cue-region()",
@@ -9,7 +9,8 @@
9
9
  {
10
10
  "name": ":xr-overlay",
11
11
  "prose": "The :xr-overlay pseudo-class MUST match the overlay element for the duration of an immersive session using a DOM Overlay.",
12
- "href": "https://immersive-web.github.io/dom-overlays/#selectordef-xr-overlay"
12
+ "href": "https://immersive-web.github.io/dom-overlays/#selectordef-xr-overlay",
13
+ "value": ":xr-overlay"
13
14
  }
14
15
  ],
15
16
  "values": []