@webref/css 6.23.0 → 7.0.0-alpha

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.
Files changed (122) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -567
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1642
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -281
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -58
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -58
  57. package/css-multicol.json +0 -253
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -17
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -226
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -49
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -98
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -38
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -74
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -89
  83. package/css-shapes.json +0 -384
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -854
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -152
  103. package/css-view-transitions.json +0 -77
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/pointer-animations.json +0 -282
  116. package/scroll-animations.json +0 -519
  117. package/selectors-5.json +0 -22
  118. package/selectors.json +0 -604
  119. package/svg-strokes.json +0 -59
  120. package/upgrade-insecure-requests.json +0 -28
  121. package/webvtt.json +0 -33
  122. package/webxr-dom-overlays.json +0 -17
package/selectors.json DELETED
@@ -1,604 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "Selectors Level 4",
4
- "url": "https://drafts.csswg.org/selectors-4/"
5
- },
6
- "properties": [],
7
- "atrules": [],
8
- "selectors": [
9
- {
10
- "name": ":is()",
11
- "prose": "The matches-any pseudo-class, :is(), is a functional pseudo-class taking a <forgiving-selector-list> as its sole argument.",
12
- "href": "https://drafts.csswg.org/selectors-4/#matches-pseudo"
13
- },
14
- {
15
- "name": ":matches()",
16
- "prose": "As previous drafts of this specification used the name :matches() for this pseudo-class, UAs may additionally implement this obsolete name as a legacy selector alias for :is() if needed for backwards-compatibility.",
17
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-matches"
18
- },
19
- {
20
- "name": ":not()",
21
- "prose": "The negation pseudo-class, :not(), is a functional pseudo-class taking a <complex-real-selector-list> as an argument. It represents an element that is not represented by its argument.",
22
- "href": "https://drafts.csswg.org/selectors-4/#negation-pseudo"
23
- },
24
- {
25
- "name": ":where()",
26
- "prose": "The Specificity-adjustment pseudo-class, :where(), is a functional pseudo-class with the same syntax and functionality as :is(). Unlike :is(), neither the :where() pseudo-class, nor any of its arguments, contribute to the specificity of the selector—​its specificity is always zero.",
27
- "href": "https://drafts.csswg.org/selectors-4/#where-pseudo"
28
- },
29
- {
30
- "name": ":has()",
31
- "prose": "The relational pseudo-class, :has(), is a functional pseudo-class taking a <relative-selector-list> as an argument. It represents an element if any of the relative selectors would match at least one element when anchored against this element.",
32
- "href": "https://drafts.csswg.org/selectors-4/#has-pseudo"
33
- },
34
- {
35
- "name": ":defined",
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",
38
- "value": ":defined"
39
- },
40
- {
41
- "name": ":dir()",
42
- "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML5] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
43
- "href": "https://drafts.csswg.org/selectors-4/#dir-pseudo"
44
- },
45
- {
46
- "name": ":lang()",
47
- "prose": "If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() must be a valid CSS <ident> or <string>. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\\*-Latn) or :lang(\"*-Latn\").)",
48
- "href": "https://drafts.csswg.org/selectors-4/#lang-pseudo"
49
- },
50
- {
51
- "name": ":any-link",
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).",
53
- "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
54
- "value": ":any-link"
55
- },
56
- {
57
- "name": ":link",
58
- "prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
59
- "href": "https://drafts.csswg.org/selectors-4/#link-pseudo",
60
- "value": ":link"
61
- },
62
- {
63
- "name": ":visited",
64
- "prose": "User agents commonly display unvisited hyperlinks differently from previously visited ones. Selectors provides the pseudo-classes :link and :visited to distinguish them:",
65
- "href": "https://drafts.csswg.org/selectors-4/#visited-pseudo",
66
- "value": ":visited"
67
- },
68
- {
69
- "name": ":local-link",
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.",
71
- "href": "https://drafts.csswg.org/selectors-4/#local-link-pseudo",
72
- "value": ":local-link"
73
- },
74
- {
75
- "name": ":target",
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.",
77
- "href": "https://drafts.csswg.org/selectors-4/#target-pseudo",
78
- "value": ":target"
79
- },
80
- {
81
- "name": ":target-within",
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.",
83
- "href": "https://drafts.csswg.org/selectors-4/#target-within-pseudo",
84
- "value": ":target-within"
85
- },
86
- {
87
- "name": ":scope",
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).",
89
- "href": "https://drafts.csswg.org/selectors-4/#scope-pseudo",
90
- "value": ":scope"
91
- },
92
- {
93
- "name": ":hover",
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.",
95
- "href": "https://drafts.csswg.org/selectors-4/#hover-pseudo",
96
- "value": ":hover"
97
- },
98
- {
99
- "name": ":active",
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.",
101
- "href": "https://drafts.csswg.org/selectors-4/#active-pseudo",
102
- "value": ":active"
103
- },
104
- {
105
- "name": ":focus",
106
- "prose": "The :focus pseudo-class applies while an element (or pseudo-element) has the focus (accepts keyboard or other forms of input).",
107
- "href": "https://drafts.csswg.org/selectors-4/#focus-pseudo",
108
- "value": ":focus"
109
- },
110
- {
111
- "name": ":focus-visible",
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.",
113
- "href": "https://drafts.csswg.org/selectors-4/#focus-visible-pseudo",
114
- "value": ":focus-visible"
115
- },
116
- {
117
- "name": ":focus-within",
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.",
119
- "href": "https://drafts.csswg.org/selectors-4/#focus-within-pseudo",
120
- "value": ":focus-within"
121
- },
122
- {
123
- "name": ":current",
124
- "prose": "The :current pseudo-class represents the element, or an ancestor of the element, that is currently being displayed.",
125
- "href": "https://drafts.csswg.org/selectors-4/#current-pseudo",
126
- "value": ":current"
127
- },
128
- {
129
- "name": ":current()",
130
- "prose": "Its alternate form :current() takes a list of compound selectors as its argument: it represents the :current element that matches the argument or, if that does not match, the innermost ancestor of the :current element that does. (If neither the :current element nor its ancestors match the argument, then the selector does not represent anything.)",
131
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-current"
132
- },
133
- {
134
- "name": ":past",
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.",
136
- "href": "https://drafts.csswg.org/selectors-4/#past-pseudo",
137
- "value": ":past"
138
- },
139
- {
140
- "name": ":future",
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.",
142
- "href": "https://drafts.csswg.org/selectors-4/#future-pseudo",
143
- "value": ":future"
144
- },
145
- {
146
- "name": ":playing",
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.)",
148
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-playing",
149
- "value": ":playing"
150
- },
151
- {
152
- "name": ":paused",
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.)",
154
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-paused",
155
- "value": ":paused"
156
- },
157
- {
158
- "name": ":seeking",
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.)",
160
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-seeking",
161
- "value": ":seeking"
162
- },
163
- {
164
- "name": ":buffering",
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.)",
166
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-buffering",
167
- "value": ":buffering"
168
- },
169
- {
170
- "name": ":stalled",
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.)",
172
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-stalled",
173
- "value": ":stalled"
174
- },
175
- {
176
- "name": ":muted",
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])",
178
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-muted",
179
- "value": ":muted"
180
- },
181
- {
182
- "name": ":volume-locked",
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])",
184
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-volume-locked",
185
- "value": ":volume-locked"
186
- },
187
- {
188
- "name": ":open",
189
- "prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state.",
190
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-open",
191
- "value": ":open"
192
- },
193
- {
194
- "name": ":popover-open",
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.",
196
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-popover-open",
197
- "value": ":popover-open"
198
- },
199
- {
200
- "name": ":modal",
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).",
202
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-modal",
203
- "value": ":modal"
204
- },
205
- {
206
- "name": ":fullscreen",
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]",
208
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-fullscreen",
209
- "value": ":fullscreen"
210
- },
211
- {
212
- "name": ":picture-in-picture",
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]",
214
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-picture-in-picture",
215
- "value": ":picture-in-picture"
216
- },
217
- {
218
- "name": ":enabled",
219
- "prose": "The :enabled pseudo-class represents user interface elements that are in an enabled state; such elements must have a corresponding disabled state.",
220
- "href": "https://drafts.csswg.org/selectors-4/#enabled-pseudo",
221
- "value": ":enabled"
222
- },
223
- {
224
- "name": ":disabled",
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.",
226
- "href": "https://drafts.csswg.org/selectors-4/#disabled-pseudo",
227
- "value": ":disabled"
228
- },
229
- {
230
- "name": ":read-write",
231
- "prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
232
- "href": "https://drafts.csswg.org/selectors-4/#read-write-pseudo",
233
- "value": ":read-write"
234
- },
235
- {
236
- "name": ":read-only",
237
- "prose": "An element matches :read-write if it is user-alterable, as defined by the document language. Otherwise, it is :read-only.",
238
- "href": "https://drafts.csswg.org/selectors-4/#read-only-pseudo",
239
- "value": ":read-only"
240
- },
241
- {
242
- "name": ":placeholder-shown",
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.",
244
- "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
245
- "value": ":placeholder-shown"
246
- },
247
- {
248
- "name": ":autofill",
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.",
250
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-autofill",
251
- "value": ":autofill"
252
- },
253
- {
254
- "name": ":default",
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.",
256
- "href": "https://drafts.csswg.org/selectors-4/#default-pseudo",
257
- "value": ":default"
258
- },
259
- {
260
- "name": ":checked",
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.",
262
- "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
263
- "value": ":checked"
264
- },
265
- {
266
- "name": ":indeterminate",
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.",
268
- "href": "https://drafts.csswg.org/selectors-4/#indeterminate-pseudo",
269
- "value": ":indeterminate"
270
- },
271
- {
272
- "name": ":blank",
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).",
274
- "href": "https://drafts.csswg.org/selectors-4/#blank-pseudo",
275
- "value": ":blank"
276
- },
277
- {
278
- "name": ":valid",
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.",
280
- "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
281
- "value": ":valid"
282
- },
283
- {
284
- "name": ":invalid",
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.",
286
- "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
287
- "value": ":invalid"
288
- },
289
- {
290
- "name": ":in-range",
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\".",
292
- "href": "https://drafts.csswg.org/selectors-4/#in-range-pseudo",
293
- "value": ":in-range"
294
- },
295
- {
296
- "name": ":out-of-range",
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\".",
298
- "href": "https://drafts.csswg.org/selectors-4/#out-of-range-pseudo",
299
- "value": ":out-of-range"
300
- },
301
- {
302
- "name": ":required",
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.",
304
- "href": "https://drafts.csswg.org/selectors-4/#required-pseudo",
305
- "value": ":required"
306
- },
307
- {
308
- "name": ":optional",
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.",
310
- "href": "https://drafts.csswg.org/selectors-4/#optional-pseudo",
311
- "value": ":optional"
312
- },
313
- {
314
- "name": ":user-invalid",
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.",
316
- "href": "https://drafts.csswg.org/selectors-4/#user-invalid-pseudo",
317
- "value": ":user-invalid"
318
- },
319
- {
320
- "name": ":user-valid",
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.",
322
- "href": "https://drafts.csswg.org/selectors-4/#user-valid-pseudo",
323
- "value": ":user-valid"
324
- },
325
- {
326
- "name": ":root",
327
- "prose": "The :root pseudo-class represents an element that is the root of the document.",
328
- "href": "https://drafts.csswg.org/selectors-4/#root-pseudo",
329
- "value": ":root"
330
- },
331
- {
332
- "name": ":empty",
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.",
334
- "href": "https://drafts.csswg.org/selectors-4/#empty-pseudo",
335
- "value": ":empty"
336
- },
337
- {
338
- "name": ":nth-child()",
339
- "value": ":nth-child(An+B [of S]? )",
340
- "href": "https://drafts.csswg.org/selectors-4/#nth-child-pseudo"
341
- },
342
- {
343
- "name": ":nth-last-child()",
344
- "value": ":nth-last-child(An+B [of S]? )",
345
- "href": "https://drafts.csswg.org/selectors-4/#nth-last-child-pseudo"
346
- },
347
- {
348
- "name": ":first-child",
349
- "prose": "The :first-child pseudo-class represents an element that if first among its inclusive siblings. Same as :nth-child(1).",
350
- "href": "https://drafts.csswg.org/selectors-4/#first-child-pseudo",
351
- "value": ":first-child"
352
- },
353
- {
354
- "name": ":last-child",
355
- "prose": "The :last-child pseudo-class represents an element that is last among its inclusive siblings. Same as :nth-last-child(1).",
356
- "href": "https://drafts.csswg.org/selectors-4/#last-child-pseudo",
357
- "value": ":last-child"
358
- },
359
- {
360
- "name": ":only-child",
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.",
362
- "href": "https://drafts.csswg.org/selectors-4/#only-child-pseudo",
363
- "value": ":only-child"
364
- },
365
- {
366
- "name": ":nth-of-type()",
367
- "value": ":nth-of-type(An+B)",
368
- "href": "https://drafts.csswg.org/selectors-4/#nth-of-type-pseudo"
369
- },
370
- {
371
- "name": ":nth-last-of-type()",
372
- "value": ":nth-last-of-type(An+B)",
373
- "href": "https://drafts.csswg.org/selectors-4/#nth-last-of-type-pseudo"
374
- },
375
- {
376
- "name": ":first-of-type",
377
- "prose": "The :first-of-type pseudo-class represents the same element as :nth-of-type(1).",
378
- "href": "https://drafts.csswg.org/selectors-4/#first-of-type-pseudo",
379
- "value": ":first-of-type"
380
- },
381
- {
382
- "name": ":last-of-type",
383
- "prose": "The :last-of-type pseudo-class represents the same element as :nth-last-of-type(1).",
384
- "href": "https://drafts.csswg.org/selectors-4/#last-of-type-pseudo",
385
- "value": ":last-of-type"
386
- },
387
- {
388
- "name": ":only-of-type",
389
- "prose": "The :only-of-type pseudo-class represents the same element as :first-of-type:last-of-type.",
390
- "href": "https://drafts.csswg.org/selectors-4/#only-of-type-pseudo",
391
- "value": ":only-of-type"
392
- },
393
- {
394
- "name": ">",
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.",
396
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-child",
397
- "value": "'>'"
398
- },
399
- {
400
- "name": "+",
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.",
402
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-adjacent",
403
- "value": "'+'"
404
- },
405
- {
406
- "name": "~",
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.",
408
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-sibling",
409
- "value": "'~'"
410
- },
411
- {
412
- "name": "||",
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.",
414
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-column",
415
- "value": "'|' '|'"
416
- },
417
- {
418
- "name": ":nth-col()",
419
- "value": ":nth-col(An+B)",
420
- "href": "https://drafts.csswg.org/selectors-4/#nth-col-pseudo"
421
- },
422
- {
423
- "name": ":nth-last-col()",
424
- "value": ":nth-last-col(An+B)",
425
- "href": "https://drafts.csswg.org/selectors-4/#nth-last-col-pseudo"
426
- }
427
- ],
428
- "values": [
429
- {
430
- "name": "<selector-list>",
431
- "href": "https://drafts.csswg.org/selectors-4/#typedef-selector-list",
432
- "type": "type",
433
- "value": "<complex-selector-list>"
434
- },
435
- {
436
- "name": "<complex-selector-list>",
437
- "href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector-list",
438
- "type": "type",
439
- "value": "<complex-selector>#"
440
- },
441
- {
442
- "name": "<complex-real-selector-list>",
443
- "href": "https://drafts.csswg.org/selectors-4/#typedef-complex-real-selector-list",
444
- "type": "type",
445
- "value": "<complex-real-selector>#"
446
- },
447
- {
448
- "name": "<compound-selector-list>",
449
- "href": "https://drafts.csswg.org/selectors-4/#typedef-compound-selector-list",
450
- "type": "type",
451
- "value": "<compound-selector>#"
452
- },
453
- {
454
- "name": "<simple-selector-list>",
455
- "href": "https://drafts.csswg.org/selectors-4/#typedef-simple-selector-list",
456
- "type": "type",
457
- "value": "<simple-selector>#"
458
- },
459
- {
460
- "name": "<relative-selector-list>",
461
- "href": "https://drafts.csswg.org/selectors-4/#typedef-relative-selector-list",
462
- "type": "type",
463
- "value": "<relative-selector>#"
464
- },
465
- {
466
- "name": "<relative-real-selector-list>",
467
- "href": "https://drafts.csswg.org/selectors-4/#typedef-relative-real-selector-list",
468
- "type": "type",
469
- "value": "<relative-real-selector>#"
470
- },
471
- {
472
- "name": "<complex-selector>",
473
- "href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector",
474
- "type": "type",
475
- "value": "<complex-selector-unit> [ <combinator>? <complex-selector-unit> ]*"
476
- },
477
- {
478
- "name": "<complex-selector-unit>",
479
- "href": "https://drafts.csswg.org/selectors-4/#typedef-complex-selector-unit",
480
- "type": "type",
481
- "value": "[ <compound-selector>? <pseudo-compound-selector>* ]!"
482
- },
483
- {
484
- "name": "<complex-real-selector>",
485
- "href": "https://drafts.csswg.org/selectors-4/#typedef-complex-real-selector",
486
- "type": "type",
487
- "value": "<compound-selector> [ <combinator>? <compound-selector> ]*"
488
- },
489
- {
490
- "name": "<relative-selector>",
491
- "href": "https://drafts.csswg.org/selectors-4/#typedef-relative-selector",
492
- "type": "type",
493
- "value": "<combinator>? <complex-selector>"
494
- },
495
- {
496
- "name": "<relative-real-selector>",
497
- "href": "https://drafts.csswg.org/selectors-4/#typedef-relative-real-selector",
498
- "type": "type",
499
- "value": "<combinator>? <complex-real-selector>"
500
- },
501
- {
502
- "name": "<compound-selector>",
503
- "href": "https://drafts.csswg.org/selectors-4/#typedef-compound-selector",
504
- "type": "type",
505
- "value": "[ <type-selector>? <subclass-selector>* ]!"
506
- },
507
- {
508
- "name": "<pseudo-compound-selector>",
509
- "href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-compound-selector",
510
- "type": "type",
511
- "value": "<pseudo-element-selector> <pseudo-class-selector>*"
512
- },
513
- {
514
- "name": "<simple-selector>",
515
- "href": "https://drafts.csswg.org/selectors-4/#typedef-simple-selector",
516
- "type": "type",
517
- "value": "<type-selector> | <subclass-selector>"
518
- },
519
- {
520
- "name": "<combinator>",
521
- "href": "https://drafts.csswg.org/selectors-4/#typedef-combinator",
522
- "type": "type",
523
- "value": "'>' | '+' | '~' | [ '|' '|' ]"
524
- },
525
- {
526
- "name": "<wq-name>",
527
- "href": "https://drafts.csswg.org/selectors-4/#typedef-wq-name",
528
- "type": "type",
529
- "value": "<ns-prefix>? <ident-token>"
530
- },
531
- {
532
- "name": "<ns-prefix>",
533
- "href": "https://drafts.csswg.org/selectors-4/#typedef-ns-prefix",
534
- "type": "type",
535
- "value": "[ <ident-token> | '*' ]? '|'"
536
- },
537
- {
538
- "name": "<type-selector>",
539
- "href": "https://drafts.csswg.org/selectors-4/#typedef-type-selector",
540
- "type": "type",
541
- "value": "<wq-name> | <ns-prefix>? '*'"
542
- },
543
- {
544
- "name": "<subclass-selector>",
545
- "href": "https://drafts.csswg.org/selectors-4/#typedef-subclass-selector",
546
- "type": "type",
547
- "value": "<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"
548
- },
549
- {
550
- "name": "<id-selector>",
551
- "href": "https://drafts.csswg.org/selectors-4/#typedef-id-selector",
552
- "type": "type",
553
- "value": "<hash-token>"
554
- },
555
- {
556
- "name": "<class-selector>",
557
- "href": "https://drafts.csswg.org/selectors-4/#typedef-class-selector",
558
- "type": "type",
559
- "value": "'.' <ident-token>"
560
- },
561
- {
562
- "name": "<attribute-selector>",
563
- "href": "https://drafts.csswg.org/selectors-4/#typedef-attribute-selector",
564
- "type": "type",
565
- "value": "'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'"
566
- },
567
- {
568
- "name": "<attr-matcher>",
569
- "href": "https://drafts.csswg.org/selectors-4/#typedef-attr-matcher",
570
- "type": "type",
571
- "value": "[ '~' | '|' | '^' | '$' | '*' ]? '='"
572
- },
573
- {
574
- "name": "<attr-modifier>",
575
- "href": "https://drafts.csswg.org/selectors-4/#typedef-attr-modifier",
576
- "type": "type",
577
- "value": "i | s"
578
- },
579
- {
580
- "name": "<pseudo-class-selector>",
581
- "href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-class-selector",
582
- "type": "type",
583
- "value": ": <ident-token> | : <function-token> <any-value> )"
584
- },
585
- {
586
- "name": "<pseudo-element-selector>",
587
- "href": "https://drafts.csswg.org/selectors-4/#typedef-pseudo-element-selector",
588
- "type": "type",
589
- "value": ": <pseudo-class-selector> | <legacy-pseudo-element-selector>"
590
- },
591
- {
592
- "name": "<legacy-pseudo-element-selector>",
593
- "href": "https://drafts.csswg.org/selectors-4/#typedef-legacy-pseudo-element-selector",
594
- "type": "type",
595
- "value": ": [before | after | first-line | first-letter]"
596
- },
597
- {
598
- "name": "<forgiving-selector-list>",
599
- "prose": "The <forgiving-selector-list> production instead parses each selector in the list individually, simply ignoring ones that fail to parse, so the remaining selectors can still be used.",
600
- "href": "https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list",
601
- "type": "type"
602
- }
603
- ]
604
- }