@webref/css 6.22.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 (121) 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 -559
  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 -1636
  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 -263
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -55
  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 -52
  57. package/css-multicol.json +0 -252
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -16
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -223
  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 -48
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -85
  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 -36
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -69
  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 -273
  83. package/css-shapes.json +0 -200
  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 -651
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -151
  103. package/css-view-transitions.json +0 -76
  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/scroll-animations.json +0 -519
  116. package/selectors-5.json +0 -21
  117. package/selectors.json +0 -546
  118. package/svg-strokes.json +0 -59
  119. package/upgrade-insecure-requests.json +0 -28
  120. package/webvtt.json +0 -31
  121. package/webxr-dom-overlays.json +0 -16
@@ -1,23 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Conditional Rules Module Level 4",
4
- "url": "https://drafts.csswg.org/css-conditional-4/"
5
- },
6
- "properties": [],
7
- "atrules": [],
8
- "selectors": [],
9
- "values": [
10
- {
11
- "name": "<supports-feature>",
12
- "href": "https://drafts.csswg.org/css-conditional-4/#typedef-supports-feature",
13
- "type": "type",
14
- "value": "<supports-selector-fn> | <supports-decl>"
15
- },
16
- {
17
- "name": "<supports-selector-fn>",
18
- "href": "https://drafts.csswg.org/css-conditional-4/#typedef-supports-selector-fn",
19
- "type": "type",
20
- "value": "selector( <complex-selector> )"
21
- }
22
- ]
23
- }
@@ -1,505 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Conditional Rules Module Level 5",
4
- "url": "https://drafts.csswg.org/css-conditional-5/"
5
- },
6
- "properties": [
7
- {
8
- "name": "container-type",
9
- "href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-type",
10
- "value": "normal | [ [ size | inline-size ] || scroll-state ]",
11
- "initial": "normal",
12
- "appliesTo": "all elements",
13
- "inherited": "no",
14
- "percentages": "n/a",
15
- "computedValue": "specified keyword",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "not animatable",
18
- "values": [
19
- {
20
- "name": "size",
21
- "prose": "Establishes a query container for container size queries on both the inline and block axis. Applies style containment and size containment to the principal box, and establishes an independent formatting context.",
22
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-size",
23
- "type": "value",
24
- "value": "size"
25
- },
26
- {
27
- "name": "inline-size",
28
- "prose": "Establishes a query container for container size queries on the container’s own inline axis. Applies style containment and inline-size containment to the principal box, and establishes an independent formatting context.",
29
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-inline-size",
30
- "type": "value",
31
- "value": "inline-size"
32
- },
33
- {
34
- "name": "scroll-state",
35
- "prose": "Establishes a query container for scroll-state queries",
36
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-scroll-state",
37
- "type": "value",
38
- "value": "scroll-state"
39
- },
40
- {
41
- "name": "normal",
42
- "prose": "The element is not a query container for any container size queries or scroll-state queries, but remains a query container for container style queries.",
43
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-type-normal",
44
- "type": "value",
45
- "value": "normal"
46
- }
47
- ],
48
- "styleDeclaration": [
49
- "container-type",
50
- "containerType"
51
- ]
52
- },
53
- {
54
- "name": "container-name",
55
- "href": "https://drafts.csswg.org/css-conditional-5/#propdef-container-name",
56
- "value": "none | <custom-ident>+",
57
- "initial": "none",
58
- "appliesTo": "all elements",
59
- "inherited": "no",
60
- "percentages": "n/a",
61
- "computedValue": "the keyword none, or an ordered list of identifiers",
62
- "canonicalOrder": "per grammar",
63
- "animationType": "not animatable",
64
- "values": [
65
- {
66
- "name": "none",
67
- "prose": "The query container has no query container name.",
68
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-none",
69
- "type": "value",
70
- "value": "none"
71
- },
72
- {
73
- "name": "<custom-ident>",
74
- "prose": "Specifies a query container name as an identifier. The keywords none, and, not, and or are excluded from this <custom-ident>.",
75
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-name-custom-ident",
76
- "type": "value",
77
- "value": "<custom-ident>"
78
- }
79
- ],
80
- "styleDeclaration": [
81
- "container-name",
82
- "containerName"
83
- ]
84
- },
85
- {
86
- "name": "container",
87
- "href": "https://drafts.csswg.org/css-conditional-5/#propdef-container",
88
- "value": "<'container-name'> [ / <'container-type'> ]?",
89
- "initial": "see individual properties",
90
- "appliesTo": "see individual properties",
91
- "inherited": "see individual properties",
92
- "percentages": "see individual properties",
93
- "computedValue": "see individual properties",
94
- "animationType": "see individual properties",
95
- "canonicalOrder": "per grammar",
96
- "styleDeclaration": [
97
- "container"
98
- ]
99
- }
100
- ],
101
- "atrules": [
102
- {
103
- "name": "@when",
104
- "prose": "The @when at-rule is a conditional group rule that generalizes the individual conditional group rules such as @media and @supports. It is defined as:",
105
- "href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-when",
106
- "descriptors": [],
107
- "value": "@when <boolean-condition> { <rule-list> }"
108
- },
109
- {
110
- "name": "@else",
111
- "prose": "The @else rule is a conditional group rule used to form conditional rule chains, which associate multiple conditional rules and guarantee that only the first one that matches will evaluate its condition as true. It is defined as:",
112
- "href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-else",
113
- "descriptors": [],
114
- "value": "@else <boolean-condition>? { <rule-list> }"
115
- },
116
- {
117
- "name": "@container",
118
- "prose": "The @container rule is a conditional group rule whose condition contains a container query, which is a boolean combination of container size queries and/or container style queries. Style declarations within the <block-contents> block of an @container rule are filtered by its condition to only match when the container query is true for their element’s query container.",
119
- "href": "https://drafts.csswg.org/css-conditional-5/#at-ruledef-container",
120
- "descriptors": [
121
- {
122
- "name": "width",
123
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-width",
124
- "for": "@container",
125
- "value": "<length>",
126
- "type": "range"
127
- },
128
- {
129
- "name": "height",
130
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-height",
131
- "for": "@container",
132
- "value": "<length>",
133
- "type": "range"
134
- },
135
- {
136
- "name": "inline-size",
137
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-inline-size",
138
- "for": "@container",
139
- "value": "<length>",
140
- "type": "range"
141
- },
142
- {
143
- "name": "block-size",
144
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-block-size",
145
- "for": "@container",
146
- "value": "<length>",
147
- "type": "range"
148
- },
149
- {
150
- "name": "aspect-ratio",
151
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-aspect-ratio",
152
- "for": "@container",
153
- "value": "<ratio>",
154
- "type": "range"
155
- },
156
- {
157
- "name": "orientation",
158
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-orientation",
159
- "for": "@container",
160
- "value": "portrait | landscape",
161
- "type": "discrete",
162
- "values": [
163
- {
164
- "name": "portrait",
165
- "prose": "The orientation container feature is portrait when the value of the height container feature is greater than or equal to the value of the width container feature.",
166
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-portrait",
167
- "type": "value",
168
- "value": "portrait"
169
- },
170
- {
171
- "name": "landscape",
172
- "prose": "Otherwise orientation is landscape.",
173
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-orientation-landscape",
174
- "type": "value",
175
- "value": "landscape"
176
- }
177
- ]
178
- },
179
- {
180
- "name": "stuck",
181
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-stuck",
182
- "for": "@container",
183
- "value": "none | top | right | bottom | left | block-start | inline-start | block-end | inline-end",
184
- "type": "discrete",
185
- "values": [
186
- {
187
- "name": "none",
188
- "prose": "The sticky container is not shifted in any direction.",
189
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-none",
190
- "type": "value",
191
- "value": "none"
192
- },
193
- {
194
- "name": "top",
195
- "prose": "The sticky container is shifted to stay inside the top edge.",
196
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-top",
197
- "type": "value",
198
- "value": "top"
199
- },
200
- {
201
- "name": "right",
202
- "prose": "The sticky container is shifted to stay inside the right edge.",
203
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-right",
204
- "type": "value",
205
- "value": "right"
206
- },
207
- {
208
- "name": "bottom",
209
- "prose": "The sticky container is shifted to stay inside the bottom edge.",
210
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-bottom",
211
- "type": "value",
212
- "value": "bottom"
213
- },
214
- {
215
- "name": "left",
216
- "prose": "The sticky container is shifted to stay inside the left edge.",
217
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-left",
218
- "type": "value",
219
- "value": "left"
220
- },
221
- {
222
- "name": "block-start",
223
- "prose": "The sticky container is shifted to stay inside the block-start edge.",
224
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-block-start",
225
- "type": "value",
226
- "value": "block-start"
227
- },
228
- {
229
- "name": "inline-start",
230
- "prose": "The sticky container is shifted to stay inside the inline-start edge.",
231
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-inline-start",
232
- "type": "value",
233
- "value": "inline-start"
234
- },
235
- {
236
- "name": "block-end",
237
- "prose": "The sticky container is shifted to stay inside the block-end edge.",
238
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-block-end",
239
- "type": "value",
240
- "value": "block-end"
241
- },
242
- {
243
- "name": "inline-end",
244
- "prose": "The sticky container is shifted to stay inside the inline-end edge.",
245
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-stuck-inline-end",
246
- "type": "value",
247
- "value": "inline-end"
248
- }
249
- ]
250
- },
251
- {
252
- "name": "snapped",
253
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-snapped",
254
- "for": "@container",
255
- "value": "none | x | y | block | inline | both",
256
- "type": "discrete",
257
- "values": [
258
- {
259
- "name": "none",
260
- "prose": "The query container is not a snap target.",
261
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-none",
262
- "type": "value",
263
- "value": "none"
264
- },
265
- {
266
- "name": "x",
267
- "prose": "snapped container feature matches x if the query container is a horizontal snap target for its scroll container.",
268
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-x",
269
- "type": "value",
270
- "value": "x"
271
- },
272
- {
273
- "name": "y",
274
- "prose": "snapped container feature matches y if the query container is a vertical snap target for its scroll container.",
275
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-y",
276
- "type": "value",
277
- "value": "y"
278
- },
279
- {
280
- "name": "block",
281
- "prose": "snapped container feature matches block if the query container is a snap target for its scroll container. in the block direction of the snap container.",
282
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-block",
283
- "type": "value",
284
- "value": "block"
285
- },
286
- {
287
- "name": "inline",
288
- "prose": "snapped container feature matches inline if the query container is a snap target for its scroll container in the inline direction of the snap container.",
289
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-inline",
290
- "type": "value",
291
- "value": "inline"
292
- },
293
- {
294
- "name": "both",
295
- "prose": "snapped container feature matches both if the query container is a snap target for its scroll container in both directions of the snap container.",
296
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-snapped-both",
297
- "type": "value",
298
- "value": "both"
299
- }
300
- ]
301
- },
302
- {
303
- "name": "scrollable",
304
- "href": "https://drafts.csswg.org/css-conditional-5/#descdef-container-scrollable",
305
- "for": "@container",
306
- "value": "none | top | right | bottom | left | block-start | inline-start | block-end | inline-end | x | y | block | inline",
307
- "type": "discrete",
308
- "values": [
309
- {
310
- "name": "none",
311
- "prose": "The scroll container does not have scrollable overflow in any direction.",
312
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-none",
313
- "type": "value",
314
- "value": "none"
315
- },
316
- {
317
- "name": "top",
318
- "prose": "The scroll container has scrollable overflow past the top edge.",
319
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-top",
320
- "type": "value",
321
- "value": "top"
322
- },
323
- {
324
- "name": "right",
325
- "prose": "The scroll container has scrollable overflow past the right edge.",
326
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-right",
327
- "type": "value",
328
- "value": "right"
329
- },
330
- {
331
- "name": "bottom",
332
- "prose": "The scroll container has scrollable overflow past the bottom edge.",
333
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-bottom",
334
- "type": "value",
335
- "value": "bottom"
336
- },
337
- {
338
- "name": "left",
339
- "prose": "The scroll container has scrollable overflow past the left edge.",
340
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-left",
341
- "type": "value",
342
- "value": "left"
343
- },
344
- {
345
- "name": "block-start",
346
- "prose": "The scroll container has scrollable overflow past the block-start edge.",
347
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-block-start",
348
- "type": "value",
349
- "value": "block-start"
350
- },
351
- {
352
- "name": "inline-start",
353
- "prose": "The scroll container has scrollable overflow past the inline-start edge.",
354
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-inline-start",
355
- "type": "value",
356
- "value": "inline-start"
357
- },
358
- {
359
- "name": "block-end",
360
- "prose": "The scroll container has scrollable overflow past the block-end edge.",
361
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-block-end",
362
- "type": "value",
363
- "value": "block-end"
364
- },
365
- {
366
- "name": "inline-end",
367
- "prose": "The scroll container has scrollable overflow past the inline-end edge.",
368
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-inline-end",
369
- "type": "value",
370
- "value": "inline-end"
371
- },
372
- {
373
- "name": "x",
374
- "prose": "The scroll container has horizontally scrollable overflow.",
375
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-x",
376
- "type": "value",
377
- "value": "x"
378
- },
379
- {
380
- "name": "y",
381
- "prose": "The scroll container has vertically scrollable overflow.",
382
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-y",
383
- "type": "value",
384
- "value": "y"
385
- },
386
- {
387
- "name": "block",
388
- "prose": "The scroll container has scrollable overflow in its block direction.",
389
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-block",
390
- "type": "value",
391
- "value": "block"
392
- },
393
- {
394
- "name": "inline",
395
- "prose": "The scroll container has scrollable overflow in its inline direction.",
396
- "href": "https://drafts.csswg.org/css-conditional-5/#valdef-container-scrollable-inline",
397
- "type": "value",
398
- "value": "inline"
399
- }
400
- ]
401
- }
402
- ],
403
- "value": "@container <container-condition># { <block-contents> }"
404
- }
405
- ],
406
- "selectors": [],
407
- "values": [
408
- {
409
- "name": "<supports-feature>",
410
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-feature",
411
- "type": "type",
412
- "value": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>"
413
- },
414
- {
415
- "name": "<supports-font-tech-fn>",
416
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-font-tech-fn",
417
- "type": "type",
418
- "value": "font-tech( <font-tech> )"
419
- },
420
- {
421
- "name": "<supports-font-format-fn>",
422
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-supports-font-format-fn",
423
- "type": "type",
424
- "value": "font-format( <font-format> )"
425
- },
426
- {
427
- "name": "media()",
428
- "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-media",
429
- "type": "function",
430
- "value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
431
- },
432
- {
433
- "name": "supports()",
434
- "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports",
435
- "type": "function",
436
- "value": "supports( <declaration> )"
437
- },
438
- {
439
- "name": "<container-condition>",
440
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-condition",
441
- "type": "type",
442
- "value": "[ <container-name>? <container-query>? ]!"
443
- },
444
- {
445
- "name": "<container-name>",
446
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-name",
447
- "type": "type",
448
- "value": "<custom-ident>"
449
- },
450
- {
451
- "name": "<container-query>",
452
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-query",
453
- "type": "type",
454
- "value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
455
- },
456
- {
457
- "name": "<query-in-parens>",
458
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-query-in-parens",
459
- "type": "type",
460
- "value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>"
461
- },
462
- {
463
- "name": "<style-query>",
464
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-query",
465
- "type": "type",
466
- "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
467
- },
468
- {
469
- "name": "<style-in-parens>",
470
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-in-parens",
471
- "type": "type",
472
- "value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
473
- },
474
- {
475
- "name": "<scroll-state-query>",
476
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-scroll-state-query",
477
- "type": "type",
478
- "value": "not <scroll-state-in-parens> | <scroll-state-in-parens> [ [ and <scroll-state-in-parens> ]* | [ or <scroll-state-in-parens> ]* ] | <scroll-state-feature>"
479
- },
480
- {
481
- "name": "<scroll-state-in-parens>",
482
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-scroll-state-in-parens",
483
- "type": "type",
484
- "value": "( <scroll-state-query> ) | ( <scroll-state-feature> ) | <general-enclosed>"
485
- },
486
- {
487
- "name": "<size-feature>",
488
- "prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [css-conditional-3])",
489
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-size-feature",
490
- "type": "type"
491
- },
492
- {
493
- "name": "<style-feature>",
494
- "prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
495
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-feature",
496
- "type": "type"
497
- },
498
- {
499
- "name": "<scroll-state-feature>",
500
- "prose": "A container scroll-state query allows querying a container for state that depends on scroll position. It is a boolean combination of individual scroll-state features (<scroll-state-feature>) that each query a single feature of the query container. The syntax of a <scroll-state-feature> is the same as for a media feature: a feature name, a comparator, and a value.",
501
- "href": "https://drafts.csswg.org/css-conditional-5/#typedef-scroll-state-feature",
502
- "type": "type"
503
- }
504
- ]
505
- }
@@ -1,50 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Conditional Rules Module Level 3",
4
- "url": "https://drafts.csswg.org/css-conditional-3/"
5
- },
6
- "properties": [],
7
- "atrules": [
8
- {
9
- "name": "@media",
10
- "prose": "The @media rule is a conditional group rule whose condition is a media query. Its syntax is:",
11
- "href": "https://drafts.csswg.org/css-conditional-3/#at-ruledef-media",
12
- "descriptors": [],
13
- "value": "@media <media-query-list> { <rule-list> }"
14
- },
15
- {
16
- "name": "@supports",
17
- "prose": "The @supports rule is a conditional group rule whose condition tests whether the user agent supports CSS property:value pairs. Authors can use it to write style sheets that use new features when available but degrade gracefully when those features are not supported. These queries are called CSS feature queries or (colloquially) supports queries.",
18
- "href": "https://drafts.csswg.org/css-conditional-3/#at-ruledef-supports",
19
- "descriptors": [],
20
- "value": "@supports <supports-condition> { <rule-list> }"
21
- }
22
- ],
23
- "selectors": [],
24
- "values": [
25
- {
26
- "name": "<supports-condition>",
27
- "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-condition",
28
- "type": "type",
29
- "value": "not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"
30
- },
31
- {
32
- "name": "<supports-in-parens>",
33
- "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-in-parens",
34
- "type": "type",
35
- "value": "( <supports-condition> ) | <supports-feature> | <general-enclosed>"
36
- },
37
- {
38
- "name": "<supports-feature>",
39
- "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-feature",
40
- "type": "type",
41
- "value": "<supports-decl>"
42
- },
43
- {
44
- "name": "<supports-decl>",
45
- "href": "https://drafts.csswg.org/css-conditional-3/#typedef-supports-decl",
46
- "type": "type",
47
- "value": "( <declaration> )"
48
- }
49
- ]
50
- }