@webref/css 6.10.3 → 6.11.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.
Files changed (114) hide show
  1. package/CSS.json +83 -8
  2. package/README.md +1 -0
  3. package/SVG.json +27 -0
  4. package/compat.json +75 -0
  5. package/compositing.json +22 -0
  6. package/css-align.json +59 -0
  7. package/css-anchor-position.json +214 -19
  8. package/css-animations-2.json +13 -0
  9. package/css-animations.json +34 -0
  10. package/css-backgrounds-4.json +12 -0
  11. package/css-backgrounds.json +78 -0
  12. package/css-borders.json +91 -0
  13. package/css-box.json +48 -0
  14. package/css-break.json +50 -0
  15. package/css-cascade-6.json +3 -0
  16. package/css-cascade.json +10 -0
  17. package/css-color-5.json +74 -0
  18. package/css-color-6.json +6 -0
  19. package/css-color-adjust.json +14 -0
  20. package/css-color.json +273 -1
  21. package/css-conditional-4.json +2 -0
  22. package/css-conditional-5.json +7 -0
  23. package/css-conditional.json +6 -0
  24. package/css-contain-3.json +27 -0
  25. package/css-contain.json +12 -0
  26. package/css-content.json +53 -0
  27. package/css-counter-styles.json +85 -0
  28. package/css-display.json +48 -0
  29. package/css-easing.json +24 -0
  30. package/css-env.json +11 -0
  31. package/css-exclusions.json +11 -0
  32. package/css-extensions.json +4 -0
  33. package/css-flexbox.json +24 -0
  34. package/css-fonts-5.json +46 -0
  35. package/css-fonts.json +221 -9
  36. package/css-gcpm-4.json +10 -4
  37. package/css-gcpm.json +13 -1
  38. package/css-grid-3.json +1 -0
  39. package/css-grid.json +88 -0
  40. package/css-highlight-api.json +3 -1
  41. package/css-images-4.json +49 -0
  42. package/css-images-5.json +3 -0
  43. package/css-images.json +46 -0
  44. package/css-inline.json +93 -0
  45. package/css-layout-api.json +1 -0
  46. package/css-line-grid.json +14 -0
  47. package/css-link-params.json +2 -0
  48. package/css-lists.json +34 -0
  49. package/css-logical.json +27 -0
  50. package/css-masking.json +69 -0
  51. package/css-multicol-2.json +5 -0
  52. package/css-multicol.json +19 -0
  53. package/css-namespaces.json +2 -0
  54. package/css-nav.json +10 -0
  55. package/css-nesting.json +2 -1
  56. package/css-overflow-4.json +37 -1
  57. package/css-overflow.json +38 -0
  58. package/css-overscroll.json +20 -0
  59. package/css-page-floats.json +34 -0
  60. package/css-page.json +52 -0
  61. package/css-paint-api.json +1 -0
  62. package/css-position-4.json +5 -1
  63. package/css-position.json +50 -0
  64. package/css-properties-values-api.json +4 -0
  65. package/css-pseudo.json +23 -10
  66. package/css-regions.json +3 -0
  67. package/css-rhythm.json +15 -0
  68. package/css-round-display.json +8 -0
  69. package/css-ruby.json +22 -0
  70. package/css-scoping.json +8 -4
  71. package/css-scroll-anchoring.json +3 -0
  72. package/css-scroll-snap-2.json +55 -5
  73. package/css-scroll-snap.json +53 -0
  74. package/css-scrollbars.json +7 -0
  75. package/css-shadow-parts.json +1 -0
  76. package/css-shapes-2.json +34 -0
  77. package/css-shapes.json +22 -0
  78. package/css-size-adjust.json +4 -0
  79. package/css-sizing-4.json +59 -0
  80. package/css-sizing.json +42 -0
  81. package/css-speech.json +115 -0
  82. package/css-syntax.json +43 -0
  83. package/css-tables.json +5 -0
  84. package/css-text-4.json +161 -0
  85. package/css-text-decor-4.json +75 -0
  86. package/css-text-decor.json +32 -0
  87. package/css-text.json +70 -0
  88. package/css-transforms-2.json +37 -0
  89. package/css-transforms.json +26 -0
  90. package/css-transitions-2.json +4 -0
  91. package/css-transitions.json +9 -0
  92. package/css-ui.json +92 -0
  93. package/css-values-5.json +59 -0
  94. package/css-values.json +115 -0
  95. package/css-variables.json +2 -0
  96. package/css-view-transitions-2.json +8 -1
  97. package/css-view-transitions.json +15 -5
  98. package/css-viewport.json +43 -0
  99. package/css-will-change.json +6 -0
  100. package/css-writing-modes.json +26 -0
  101. package/fill-stroke.json +66 -0
  102. package/filter-effects-2.json +1 -0
  103. package/filter-effects.json +24 -0
  104. package/html.json +3 -0
  105. package/mathml-core.json +3 -0
  106. package/mediaqueries-5.json +121 -0
  107. package/mediaqueries.json +77 -0
  108. package/motion.json +32 -0
  109. package/package.json +1 -1
  110. package/scroll-animations.json +54 -0
  111. package/selectors.json +173 -72
  112. package/svg-strokes.json +3 -0
  113. package/upgrade-insecure-requests.json +2 -0
  114. package/webvtt.json +8 -4
@@ -7,18 +7,21 @@
7
7
  "atrules": [
8
8
  {
9
9
  "name": "@custom-media",
10
+ "href": "https://drafts.csswg.org/mediaqueries-5/#at-ruledef-custom-media",
10
11
  "descriptors": [],
11
12
  "value": "@custom-media <extension-name> [ <media-query-list> | true | false ] ;",
12
13
  "values": [
13
14
  {
14
15
  "name": "true",
15
16
  "prose": "The <extension-name> can then be used in a media feature. It must be used in a boolean context; using them in a normal or range context is a syntax error. If a <media-query-list> is given, the custom media query evaluates to true if the <media-query-list> it represents evaluates to true, and false otherwise. If true or false is given, the custom media query evaluates to true or false, respectively.",
17
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-custom-media-true",
16
18
  "type": "value",
17
19
  "value": "true"
18
20
  },
19
21
  {
20
22
  "name": "false",
21
23
  "prose": "The <extension-name> can then be used in a media feature. It must be used in a boolean context; using them in a normal or range context is a syntax error. If a <media-query-list> is given, the custom media query evaluates to true if the <media-query-list> it represents evaluates to true, and false otherwise. If true or false is given, the custom media query evaluates to true or false, respectively.",
24
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-custom-media-false",
22
25
  "type": "value",
23
26
  "value": "false"
24
27
  }
@@ -29,24 +32,28 @@
29
32
  "descriptors": [
30
33
  {
31
34
  "name": "width",
35
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-width",
32
36
  "for": "@media",
33
37
  "value": "<length>",
34
38
  "type": "range"
35
39
  },
36
40
  {
37
41
  "name": "height",
42
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-height",
38
43
  "for": "@media",
39
44
  "value": "<length>",
40
45
  "type": "range"
41
46
  },
42
47
  {
43
48
  "name": "aspect-ratio",
49
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-aspect-ratio",
44
50
  "for": "@media",
45
51
  "value": "<ratio>",
46
52
  "type": "range"
47
53
  },
48
54
  {
49
55
  "name": "orientation",
56
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-orientation",
50
57
  "for": "@media",
51
58
  "value": "portrait | landscape",
52
59
  "type": "discrete",
@@ -54,12 +61,14 @@
54
61
  {
55
62
  "name": "portrait",
56
63
  "prose": "The orientation media feature is portrait when the value of the height media feature is greater than or equal to the value of the width media feature.",
64
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-orientation-portrait",
57
65
  "type": "value",
58
66
  "value": "portrait"
59
67
  },
60
68
  {
61
69
  "name": "landscape",
62
70
  "prose": "Otherwise orientation is landscape.",
71
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-orientation-landscape",
63
72
  "type": "value",
64
73
  "value": "landscape"
65
74
  }
@@ -67,6 +76,7 @@
67
76
  },
68
77
  {
69
78
  "name": "overflow-block",
79
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-overflow-block",
70
80
  "for": "@media",
71
81
  "value": "none | scroll | paged",
72
82
  "type": "discrete",
@@ -74,18 +84,21 @@
74
84
  {
75
85
  "name": "none",
76
86
  "prose": "There is no affordance for overflow in the block axis; any overflowing content is simply not displayed. Examples: billboards",
87
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-none",
77
88
  "type": "value",
78
89
  "value": "none"
79
90
  },
80
91
  {
81
92
  "name": "scroll",
82
93
  "prose": "Overflowing content in the block axis is exposed by allowing users to scroll to it. Examples: computer screens",
94
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-scroll",
83
95
  "type": "value",
84
96
  "value": "scroll"
85
97
  },
86
98
  {
87
99
  "name": "paged",
88
100
  "prose": "Content is broken up into discrete pages; content that overflows one page in the block axis is displayed on the following page. Examples: printers, ebook readers",
101
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-block-paged",
89
102
  "type": "value",
90
103
  "value": "paged"
91
104
  }
@@ -93,6 +106,7 @@
93
106
  },
94
107
  {
95
108
  "name": "overflow-inline",
109
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-overflow-inline",
96
110
  "for": "@media",
97
111
  "value": "none | scroll",
98
112
  "type": "discrete",
@@ -100,12 +114,14 @@
100
114
  {
101
115
  "name": "none",
102
116
  "prose": "There is no affordance for overflow in the inline axis; any overflowing content is simply not displayed.",
117
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-inline-none",
103
118
  "type": "value",
104
119
  "value": "none"
105
120
  },
106
121
  {
107
122
  "name": "scroll",
108
123
  "prose": "Overflowing content in the inline axis is exposed by allowing users to scroll to it.",
124
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-overflow-inline-scroll",
109
125
  "type": "value",
110
126
  "value": "scroll"
111
127
  }
@@ -113,24 +129,28 @@
113
129
  },
114
130
  {
115
131
  "name": "horizontal-viewport-segments",
132
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-horizontal-viewport-segments",
116
133
  "for": "@media",
117
134
  "value": "<integer>",
118
135
  "type": "range"
119
136
  },
120
137
  {
121
138
  "name": "vertical-viewport-segments",
139
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-vertical-viewport-segments",
122
140
  "for": "@media",
123
141
  "value": "<integer>",
124
142
  "type": "range"
125
143
  },
126
144
  {
127
145
  "name": "display-mode",
146
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
128
147
  "for": "@media",
129
148
  "value": "fullscreen | standalone | minimal-ui | browser",
130
149
  "type": "discrete"
131
150
  },
132
151
  {
133
152
  "name": "resolution",
153
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-resolution",
134
154
  "for": "@media",
135
155
  "value": "<resolution> | infinite",
136
156
  "type": "range",
@@ -138,6 +158,7 @@
138
158
  {
139
159
  "name": "infinite",
140
160
  "prose": "For output mediums that have no physical constraints on resolution (such as outputting to vector graphics), this feature must match the infinite value. For the purpose of evaluating this media feature in the range context, infinite must be treated as larger than any possible <resolution>. (That is, a query like (resolution > 1000dpi) will be true for an infinite media.)",
161
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-resolution-infinite",
141
162
  "type": "value",
142
163
  "value": "infinite"
143
164
  }
@@ -145,6 +166,7 @@
145
166
  },
146
167
  {
147
168
  "name": "scan",
169
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-scan",
148
170
  "for": "@media",
149
171
  "value": "interlace | progressive",
150
172
  "type": "discrete",
@@ -152,12 +174,14 @@
152
174
  {
153
175
  "name": "interlace",
154
176
  "prose": "CRT and some types of plasma TV screens used “interlaced” rendering, where video frames alternated between specifying only the “even” lines on the screen and only the “odd” lines, exploiting various automatic mental image-correction abilities to produce smooth motion. This allowed them to simulate a higher FPS broadcast at half the bandwidth cost. When displaying on interlaced screens, authors should avoid very fast movement across the screen to avoid “combing”, and should ensure that details on the screen are wider than 1px to avoid “twitter”.",
177
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scan-interlace",
155
178
  "type": "value",
156
179
  "value": "interlace"
157
180
  },
158
181
  {
159
182
  "name": "progressive",
160
183
  "prose": "A screen using “progressive” rendering displays each screen fully, and needs no special treatment. Most modern screens, and all computer screens, use progressive rendering.",
184
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scan-progressive",
161
185
  "type": "value",
162
186
  "value": "progressive"
163
187
  }
@@ -165,12 +189,14 @@
165
189
  },
166
190
  {
167
191
  "name": "grid",
192
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-grid",
168
193
  "for": "@media",
169
194
  "value": "<mq-boolean>",
170
195
  "type": "discrete"
171
196
  },
172
197
  {
173
198
  "name": "update",
199
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-update",
174
200
  "for": "@media",
175
201
  "value": "none | slow | fast",
176
202
  "type": "discrete",
@@ -178,18 +204,21 @@
178
204
  {
179
205
  "name": "none",
180
206
  "prose": "Once it has been rendered, the layout can no longer be updated. Example: documents printed on paper.",
207
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-none",
181
208
  "type": "value",
182
209
  "value": "none"
183
210
  },
184
211
  {
185
212
  "name": "slow",
186
213
  "prose": "The layout may change dynamically according to the usual rules of CSS, but the output device is not able to render or display changes quickly enough for them to be perceived as a smooth animation. Example: E-ink screens or severely under-powered devices.",
214
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-slow",
187
215
  "type": "value",
188
216
  "value": "slow"
189
217
  },
190
218
  {
191
219
  "name": "fast",
192
220
  "prose": "The layout may change dynamically according to the usual rules of CSS, and the output device is not unusually constrained in speed, so regularly-updating things like CSS Animations can be used. Example: computer screens.",
221
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-update-fast",
193
222
  "type": "value",
194
223
  "value": "fast"
195
224
  }
@@ -197,6 +226,7 @@
197
226
  },
198
227
  {
199
228
  "name": "environment-blending",
229
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-environment-blending",
200
230
  "for": "@media",
201
231
  "value": "opaque | additive | subtractive",
202
232
  "type": "discrete",
@@ -204,18 +234,21 @@
204
234
  {
205
235
  "name": "opaque",
206
236
  "prose": "The document is rendered on an opaque medium, such as a traditional monitor or paper. Black is dark and white is 100% light.",
237
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-opaque",
207
238
  "type": "value",
208
239
  "value": "opaque"
209
240
  },
210
241
  {
211
242
  "name": "additive",
212
243
  "prose": "The display blends the colors of the canvas with the real world using additive mixing. Black is fully transparent and white is 100% light. For example: a head-up display in a car.",
244
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-additive",
213
245
  "type": "value",
214
246
  "value": "additive"
215
247
  },
216
248
  {
217
249
  "name": "subtractive",
218
250
  "prose": "The display blends the colors of the canvas with the real world using subtractive mixing. White is fully transparent and dark colors have the most contrast. For example: an LCD display embedded in a bathroom mirror.",
251
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-environment-blending-subtractive",
219
252
  "type": "value",
220
253
  "value": "subtractive"
221
254
  }
@@ -223,24 +256,28 @@
223
256
  },
224
257
  {
225
258
  "name": "color",
259
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color",
226
260
  "for": "@media",
227
261
  "value": "<integer>",
228
262
  "type": "range"
229
263
  },
230
264
  {
231
265
  "name": "color-index",
266
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color-index",
232
267
  "for": "@media",
233
268
  "value": "<integer>",
234
269
  "type": "range"
235
270
  },
236
271
  {
237
272
  "name": "monochrome",
273
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-monochrome",
238
274
  "for": "@media",
239
275
  "value": "<integer>",
240
276
  "type": "range"
241
277
  },
242
278
  {
243
279
  "name": "color-gamut",
280
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-color-gamut",
244
281
  "for": "@media",
245
282
  "value": "srgb | p3 | rec2020",
246
283
  "type": "discrete",
@@ -248,18 +285,21 @@
248
285
  {
249
286
  "name": "srgb",
250
287
  "prose": "The UA and output device can support approximately the sRGB gamut or more.",
288
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-srgb",
251
289
  "type": "value",
252
290
  "value": "srgb"
253
291
  },
254
292
  {
255
293
  "name": "p3",
256
294
  "prose": "The UA and output device can support approximately the gamut specified by the Display P3 [Display-P3] Color Space or more.",
295
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-p3",
257
296
  "type": "value",
258
297
  "value": "p3"
259
298
  },
260
299
  {
261
300
  "name": "rec2020",
262
301
  "prose": "The UA and output device can support approximately the gamut specified by the ITU-R Recommendation BT.2020 Color Space or more.",
302
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-color-gamut-rec2020",
263
303
  "type": "value",
264
304
  "value": "rec2020"
265
305
  }
@@ -267,6 +307,7 @@
267
307
  },
268
308
  {
269
309
  "name": "dynamic-range",
310
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-dynamic-range",
270
311
  "for": "@media",
271
312
  "value": "standard | high",
272
313
  "type": "discrete",
@@ -274,12 +315,14 @@
274
315
  {
275
316
  "name": "high",
276
317
  "prose": "The user agent and the output device fulfill all of the following criteria: they support a high peak brightness they support a high contrast ratio the color depth is greater than 24 bit or 8 bit per color component of RGB",
318
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-dynamic-range-high",
277
319
  "type": "value",
278
320
  "value": "high"
279
321
  },
280
322
  {
281
323
  "name": "standard",
282
324
  "prose": "This value matches on any visual device, and not on devices lacking visual capabilities.",
325
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-dynamic-range-standard",
283
326
  "type": "value",
284
327
  "value": "standard"
285
328
  }
@@ -287,6 +330,7 @@
287
330
  },
288
331
  {
289
332
  "name": "inverted-colors",
333
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-inverted-colors",
290
334
  "for": "@media",
291
335
  "value": "none | inverted",
292
336
  "type": "discrete",
@@ -294,12 +338,14 @@
294
338
  {
295
339
  "name": "none",
296
340
  "prose": "Colors are displayed normally.",
341
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-inverted-colors-none",
297
342
  "type": "value",
298
343
  "value": "none"
299
344
  },
300
345
  {
301
346
  "name": "inverted",
302
347
  "prose": "All pixels within the displayed area have been inverted. This value must not match if the user agent has done some kind of content aware inversion such as one that preserves the images.",
348
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-inverted-colors-inverted",
303
349
  "type": "value",
304
350
  "value": "inverted"
305
351
  }
@@ -307,6 +353,7 @@
307
353
  },
308
354
  {
309
355
  "name": "pointer",
356
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-pointer",
310
357
  "for": "@media",
311
358
  "value": "none | coarse | fine",
312
359
  "type": "discrete",
@@ -314,18 +361,21 @@
314
361
  {
315
362
  "name": "none",
316
363
  "prose": "The primary input mechanism of the device does not include a pointing device.",
364
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-none",
317
365
  "type": "value",
318
366
  "value": "none"
319
367
  },
320
368
  {
321
369
  "name": "coarse",
322
370
  "prose": "The primary input mechanism of the device includes a pointing device of limited accuracy. Examples include touchscreens and motion-detection sensors (like the Kinect peripheral for the Xbox.)",
371
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-coarse",
323
372
  "type": "value",
324
373
  "value": "coarse"
325
374
  },
326
375
  {
327
376
  "name": "fine",
328
377
  "prose": "The primary input mechanism of the device includes an accurate pointing device. Examples include mice, touchpads, and drawing styluses.",
378
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-pointer-fine",
329
379
  "type": "value",
330
380
  "value": "fine"
331
381
  }
@@ -333,6 +383,7 @@
333
383
  },
334
384
  {
335
385
  "name": "hover",
386
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-hover",
336
387
  "for": "@media",
337
388
  "value": "none | hover",
338
389
  "type": "discrete",
@@ -340,12 +391,14 @@
340
391
  {
341
392
  "name": "none",
342
393
  "prose": "Indicates that the primary pointing device can’t hover, or that there is no pointing device. Examples include touchscreens and screens that use a basic drawing stylus. Pointing devices that can hover, but for which doing so is inconvenient and not part of the normal way they are used, also match this value. For example, a touchscreen where a long press is treated as hovering would match hover: none.",
394
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-hover-none",
343
395
  "type": "value",
344
396
  "value": "none"
345
397
  },
346
398
  {
347
399
  "name": "hover",
348
400
  "prose": "Indicates that the primary pointing device can easily hover over parts of the page. Examples include mice and devices that physically point at the screen, like the Nintendo Wii controller.",
401
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-hover-hover",
349
402
  "type": "value",
350
403
  "value": "hover"
351
404
  }
@@ -353,18 +406,21 @@
353
406
  },
354
407
  {
355
408
  "name": "any-pointer",
409
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-any-pointer",
356
410
  "for": "@media",
357
411
  "value": "none | coarse | fine",
358
412
  "type": "discrete"
359
413
  },
360
414
  {
361
415
  "name": "any-hover",
416
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-any-hover",
362
417
  "for": "@media",
363
418
  "value": "none | hover",
364
419
  "type": "discrete"
365
420
  },
366
421
  {
367
422
  "name": "nav-controls",
423
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-nav-controls",
368
424
  "for": "@media",
369
425
  "value": "none | back",
370
426
  "type": "discrete",
@@ -372,12 +428,14 @@
372
428
  {
373
429
  "name": "none",
374
430
  "prose": "The user agent does not have any obviously discoverable navigation controls, and in particular none that cause the user agent to move back one page in the joint session history.",
431
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-nav-controls-none",
375
432
  "type": "value",
376
433
  "value": "none"
377
434
  },
378
435
  {
379
436
  "name": "back",
380
437
  "prose": "The user agent provides navigation controls, including at least an obviously discoverable control causing the user agent to move back one page in the joint session history (typically, a “back” button).",
438
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-nav-controls-back",
381
439
  "type": "value",
382
440
  "value": "back"
383
441
  }
@@ -385,18 +443,21 @@
385
443
  },
386
444
  {
387
445
  "name": "video-color-gamut",
446
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-video-color-gamut",
388
447
  "for": "@media",
389
448
  "value": "srgb | p3 | rec2020",
390
449
  "type": "discrete"
391
450
  },
392
451
  {
393
452
  "name": "video-dynamic-range",
453
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-video-dynamic-range",
394
454
  "for": "@media",
395
455
  "value": "standard | high",
396
456
  "type": "discrete"
397
457
  },
398
458
  {
399
459
  "name": "scripting",
460
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-scripting",
400
461
  "for": "@media",
401
462
  "value": "none | initial-only | enabled",
402
463
  "type": "discrete",
@@ -404,18 +465,21 @@
404
465
  {
405
466
  "name": "enabled",
406
467
  "prose": "Indicates that the user agent supports scripting of the page, and that scripting in the current document is enabled for the lifetime of the document.",
468
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-enabled",
407
469
  "type": "value",
408
470
  "value": "enabled"
409
471
  },
410
472
  {
411
473
  "name": "initial-only",
412
474
  "prose": "Indicates that the user agent supports scripting of the page, and that scripting in the current document is enabled during the initial page load, but is not supported afterwards. Examples are printed pages, or pre-rendering network proxies that render a page on a server and send a nearly-static version of the page to the user. Should there be an explicit minimum threshold to meet before a UA is allowed to claim initial-only? Having one would mean authors would know what they can depend on, and could tailor their scripts accordingly. On the other hand, pinpointing that threshold is difficult: if it is set too low, the scripting facilities that authors can depend on may be to constrained to be practical, even though actual UAs may potentially all support significantly more. But trying to set it higher may cause us to exclude UAs that do support scripting at loading time, but restrict it in some cases based on complex heuristics. For instance, conservative definitions likely include at least running all inline scripts and firing the DOMContentLoaded event. But it does not seem useful for authors to constrain themselves to this if most (or maybe all) initial-only UAs also load external scripts (including async and defer) and fire the load event. On the other hand, requiring external scripts to be loaded and the load event to be fired could exclude UAs like Opera mini, which typically do run them, but may decide not to based on timeouts and other heuristics. [Issue #503]",
475
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-initial-only",
413
476
  "type": "value",
414
477
  "value": "initial-only"
415
478
  },
416
479
  {
417
480
  "name": "none",
418
481
  "prose": "Indicates that the user agent will not run scripts for this document; either it doesn’t support a scripting language, or the support isn’t active for the current document.",
482
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-scripting-none",
419
483
  "type": "value",
420
484
  "value": "none"
421
485
  }
@@ -423,6 +487,7 @@
423
487
  },
424
488
  {
425
489
  "name": "prefers-reduced-motion",
490
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-motion",
426
491
  "for": "@media",
427
492
  "value": "no-preference | reduce",
428
493
  "type": "discrete",
@@ -430,12 +495,14 @@
430
495
  {
431
496
  "name": "no-preference",
432
497
  "prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
498
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-motion-no-preference",
433
499
  "type": "value",
434
500
  "value": "no-preference"
435
501
  },
436
502
  {
437
503
  "name": "reduce",
438
504
  "prose": "Indicates that user has notified the system that they prefer an interface that removes or replaces the types of motion-based animation that either trigger discomfort for those with vestibular motion sensitivity, or distraction for those with attention deficits.",
505
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-motion-reduce",
439
506
  "type": "value",
440
507
  "value": "reduce"
441
508
  }
@@ -443,6 +510,7 @@
443
510
  },
444
511
  {
445
512
  "name": "prefers-reduced-transparency",
513
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-transparency",
446
514
  "for": "@media",
447
515
  "value": "no-preference | reduce",
448
516
  "type": "discrete",
@@ -450,12 +518,14 @@
450
518
  {
451
519
  "name": "no-preference",
452
520
  "prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
521
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-transparency-no-preference",
453
522
  "type": "value",
454
523
  "value": "no-preference"
455
524
  },
456
525
  {
457
526
  "name": "reduce",
458
527
  "prose": "Indicates that user has notified the system that they prefer an interface that minimizes the amount of transparent or translucent layer effects.",
528
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-transparency-reduce",
459
529
  "type": "value",
460
530
  "value": "reduce"
461
531
  }
@@ -463,6 +533,7 @@
463
533
  },
464
534
  {
465
535
  "name": "prefers-contrast",
536
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-contrast",
466
537
  "for": "@media",
467
538
  "value": "no-preference | less | more | custom",
468
539
  "type": "discrete",
@@ -470,24 +541,28 @@
470
541
  {
471
542
  "name": "no-preference",
472
543
  "prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
544
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-no-preference",
473
545
  "type": "value",
474
546
  "value": "no-preference"
475
547
  },
476
548
  {
477
549
  "name": "less",
478
550
  "prose": "Indicates that user has notified the system that they prefer an interface that has a lower level of contrast.",
551
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-less",
479
552
  "type": "value",
480
553
  "value": "less"
481
554
  },
482
555
  {
483
556
  "name": "more",
484
557
  "prose": "Indicates that user has notified the system that they prefer an interface that has a higher level of contrast.",
558
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-more",
485
559
  "type": "value",
486
560
  "value": "more"
487
561
  },
488
562
  {
489
563
  "name": "custom",
490
564
  "prose": "Indicates that the user has indicated wanting a specific set of colors to be used, but the contrast implied by these particular colors is such that neither more nor less match. A user calling for cyan text over a rust background is not—​at least in terms of luminosity—​expressing a need for particularly high or low contrast, but this is not a lack of a preference either.",
565
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-contrast-custom",
491
566
  "type": "value",
492
567
  "value": "custom"
493
568
  }
@@ -495,6 +570,7 @@
495
570
  },
496
571
  {
497
572
  "name": "forced-colors",
573
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-forced-colors",
498
574
  "for": "@media",
499
575
  "value": "none | active",
500
576
  "type": "discrete",
@@ -502,12 +578,14 @@
502
578
  {
503
579
  "name": "active",
504
580
  "prose": "Indicates that forced colors mode is active: the user agent enforces a user-chosen limited color palette on the page, The UA will provide the color palette to authors through the CSS system color keywords. See CSS Color Adjustment 1 § 3 Forced Color Palettes for details. This does not necessarily indicate a preference for more contrast. The colors have been forcibly adjusted to match the preference of the user, but that preference can be for less or more contrast, or some other arrangement that is neither particularly low or high contrast. In addition to forced-colors: active, the user agent must also match one of prefers-contrast: more or prefers-contrast: less if it can determine that the forced color palette chosen by the user has a particularly high or low contrast, and must make prefers-contrast: custom match otherwise. Similarly, if the forced color palette chosen by the user fits within one of the color schemes described by prefers-color-scheme, the corresponding value must also match.",
581
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-forced-colors-active",
505
582
  "type": "value",
506
583
  "value": "active"
507
584
  },
508
585
  {
509
586
  "name": "none",
510
587
  "prose": "Forced colors mode is not active.",
588
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-forced-colors-none",
511
589
  "type": "value",
512
590
  "value": "none"
513
591
  }
@@ -515,6 +593,7 @@
515
593
  },
516
594
  {
517
595
  "name": "prefers-color-scheme",
596
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-color-scheme",
518
597
  "for": "@media",
519
598
  "value": "light | dark",
520
599
  "type": "discrete",
@@ -522,12 +601,14 @@
522
601
  {
523
602
  "name": "light",
524
603
  "prose": "Indicates that user has expressed the preference for a page that has a light theme (dark text on light background), or has not expressed an active preference (and thus should receive the \"web default\" of a light theme).",
604
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-color-scheme-light",
525
605
  "type": "value",
526
606
  "value": "light"
527
607
  },
528
608
  {
529
609
  "name": "dark",
530
610
  "prose": "Indicates that user has expressed the preference for a page that has a dark theme (light text on dark background).",
611
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-color-scheme-dark",
531
612
  "type": "value",
532
613
  "value": "dark"
533
614
  }
@@ -535,6 +616,7 @@
535
616
  },
536
617
  {
537
618
  "name": "prefers-reduced-data",
619
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-reduced-data",
538
620
  "for": "@media",
539
621
  "value": "no-preference | reduce",
540
622
  "type": "discrete",
@@ -542,12 +624,14 @@
542
624
  {
543
625
  "name": "no-preference",
544
626
  "prose": "Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the boolean context.",
627
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-data-no-preference",
545
628
  "type": "value",
546
629
  "value": "no-preference"
547
630
  },
548
631
  {
549
632
  "name": "reduce",
550
633
  "prose": "Indicates that user has expressed the preference for lightweight alternate content.",
634
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-prefers-reduced-data-reduce",
551
635
  "type": "value",
552
636
  "value": "reduce"
553
637
  }
@@ -555,18 +639,21 @@
555
639
  },
556
640
  {
557
641
  "name": "device-width",
642
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-width",
558
643
  "for": "@media",
559
644
  "value": "<length>",
560
645
  "type": "range"
561
646
  },
562
647
  {
563
648
  "name": "device-height",
649
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-height",
564
650
  "for": "@media",
565
651
  "value": "<length>",
566
652
  "type": "range"
567
653
  },
568
654
  {
569
655
  "name": "device-aspect-ratio",
656
+ "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-device-aspect-ratio",
570
657
  "for": "@media",
571
658
  "value": "<ratio>",
572
659
  "type": "range"
@@ -576,70 +663,83 @@
576
663
  {
577
664
  "name": "not",
578
665
  "prose": "An individual media query can have its result negated by prefixing it with the keyword not. If the media query would normally evaluate to true, prefixing it with not makes it evaluate to false, and vice versa.",
666
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-not",
579
667
  "type": "value",
580
668
  "value": "not"
581
669
  },
582
670
  {
583
671
  "name": "only",
584
672
  "prose": "To hide these media queries from legacy user agents, the media query can be prefixed with the keyword only. The only keyword has no effect on the media query’s result, but will cause the media query to be parsed by legacy user agents as specifying the unknown media type “only”, and thus be ignored.",
673
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-only",
585
674
  "type": "value",
586
675
  "value": "only"
587
676
  },
588
677
  {
589
678
  "name": "all",
590
679
  "prose": "Matches all devices.",
680
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-all",
591
681
  "type": "value",
592
682
  "value": "all"
593
683
  },
594
684
  {
595
685
  "name": "print",
596
686
  "prose": "Matches printers, and devices intended to reproduce a printed display, such as a web browser showing a document in “Print Preview”.",
687
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-print",
597
688
  "type": "value",
598
689
  "value": "print"
599
690
  },
600
691
  {
601
692
  "name": "screen",
602
693
  "prose": "Matches all devices that aren’t matched by print.",
694
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-screen",
603
695
  "type": "value",
604
696
  "value": "screen"
605
697
  },
606
698
  {
607
699
  "name": "tty",
700
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-tty",
608
701
  "type": "value",
609
702
  "value": "tty"
610
703
  },
611
704
  {
612
705
  "name": "tv",
706
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-tv",
613
707
  "type": "value",
614
708
  "value": "tv"
615
709
  },
616
710
  {
617
711
  "name": "projection",
712
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-projection",
618
713
  "type": "value",
619
714
  "value": "projection"
620
715
  },
621
716
  {
622
717
  "name": "handheld",
718
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-handheld",
623
719
  "type": "value",
624
720
  "value": "handheld"
625
721
  },
626
722
  {
627
723
  "name": "braille",
724
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-braille",
628
725
  "type": "value",
629
726
  "value": "braille"
630
727
  },
631
728
  {
632
729
  "name": "embossed",
730
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-embossed",
633
731
  "type": "value",
634
732
  "value": "embossed"
635
733
  },
636
734
  {
637
735
  "name": "aural",
736
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-aural",
638
737
  "type": "value",
639
738
  "value": "aural"
640
739
  },
641
740
  {
642
741
  "name": "speech",
742
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-speech",
643
743
  "type": "value",
644
744
  "value": "speech"
645
745
  }
@@ -651,106 +751,127 @@
651
751
  {
652
752
  "name": "<media-query-list>",
653
753
  "prose": "To parse a <media-query-list> production, parse a comma-separated list of component values, then parse each entry in the returned list as a <media-query>. Its value is the list of <media-query>s so produced.",
754
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-query-list",
654
755
  "type": "type"
655
756
  },
656
757
  {
657
758
  "name": "<media-query>",
759
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-query",
658
760
  "type": "type",
659
761
  "value": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"
660
762
  },
661
763
  {
662
764
  "name": "<media-type>",
765
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-type",
663
766
  "type": "type",
664
767
  "value": "<ident>"
665
768
  },
666
769
  {
667
770
  "name": "<media-condition>",
771
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-condition",
668
772
  "type": "type",
669
773
  "value": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]"
670
774
  },
671
775
  {
672
776
  "name": "<media-condition-without-or>",
777
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-condition-without-or",
673
778
  "type": "type",
674
779
  "value": "<media-not> | <media-in-parens> <media-and>*"
675
780
  },
676
781
  {
677
782
  "name": "<media-not>",
783
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-not",
678
784
  "type": "type",
679
785
  "value": "not <media-in-parens>"
680
786
  },
681
787
  {
682
788
  "name": "<media-and>",
789
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-and",
683
790
  "type": "type",
684
791
  "value": "and <media-in-parens>"
685
792
  },
686
793
  {
687
794
  "name": "<media-or>",
795
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-or",
688
796
  "type": "type",
689
797
  "value": "or <media-in-parens>"
690
798
  },
691
799
  {
692
800
  "name": "<media-in-parens>",
801
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-in-parens",
693
802
  "type": "type",
694
803
  "value": "( <media-condition> ) | <media-feature> | <general-enclosed>"
695
804
  },
696
805
  {
697
806
  "name": "<media-feature>",
807
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-media-feature",
698
808
  "type": "type",
699
809
  "value": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
700
810
  },
701
811
  {
702
812
  "name": "<mf-plain>",
813
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-plain",
703
814
  "type": "type",
704
815
  "value": "<mf-name> : <mf-value>"
705
816
  },
706
817
  {
707
818
  "name": "<mf-boolean>",
819
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-boolean",
708
820
  "type": "type",
709
821
  "value": "<mf-name>"
710
822
  },
711
823
  {
712
824
  "name": "<mf-range>",
825
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-range",
713
826
  "type": "type",
714
827
  "value": "<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>"
715
828
  },
716
829
  {
717
830
  "name": "<mf-name>",
831
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-name",
718
832
  "type": "type",
719
833
  "value": "<ident>"
720
834
  },
721
835
  {
722
836
  "name": "<mf-value>",
837
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-value",
723
838
  "type": "type",
724
839
  "value": "<number> | <dimension> | <ident> | <ratio>"
725
840
  },
726
841
  {
727
842
  "name": "<mf-lt>",
843
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-lt",
728
844
  "type": "type",
729
845
  "value": "'<' '='?"
730
846
  },
731
847
  {
732
848
  "name": "<mf-gt>",
849
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-gt",
733
850
  "type": "type",
734
851
  "value": "'>' '='?"
735
852
  },
736
853
  {
737
854
  "name": "<mf-eq>",
855
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-eq",
738
856
  "type": "type",
739
857
  "value": "'='"
740
858
  },
741
859
  {
742
860
  "name": "<mf-comparison>",
861
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mf-comparison",
743
862
  "type": "type",
744
863
  "value": "<mf-lt> | <mf-gt> | <mf-eq>"
745
864
  },
746
865
  {
747
866
  "name": "<general-enclosed>",
867
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-general-enclosed",
748
868
  "type": "type",
749
869
  "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
750
870
  },
751
871
  {
752
872
  "name": "<mq-boolean>",
753
873
  "prose": "The <mq-boolean> value type is an <integer> with the value 0 or 1. Any other integer value is invalid. Note that -0 is always equivalent to 0 in CSS, and so is also accepted as a valid <mq-boolean> value.",
874
+ "href": "https://drafts.csswg.org/mediaqueries-5/#typedef-mq-boolean",
754
875
  "type": "type"
755
876
  }
756
877
  ]