@webref/css 5.4.4 → 6.0.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 (107) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +416 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +237 -29
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +263 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +192 -67
  41. package/css-images.json +152 -33
  42. package/css-inline.json +525 -16
  43. package/css-layout-api.json +20 -0
  44. package/css-line-grid.json +80 -7
  45. package/css-lists.json +140 -19
  46. package/css-logical.json +125 -50
  47. package/css-masking.json +330 -47
  48. package/css-multicol-2.json +32 -5
  49. package/css-multicol.json +84 -13
  50. package/css-namespaces.json +15 -10
  51. package/css-nav.json +62 -7
  52. package/css-nesting.json +15 -0
  53. package/css-overflow-4.json +83 -10
  54. package/css-overflow.json +239 -18
  55. package/css-overscroll.json +110 -9
  56. package/css-page-floats.json +188 -16
  57. package/css-page.json +262 -67
  58. package/css-paint-api.json +8 -5
  59. package/css-position.json +269 -16
  60. package/css-properties-values-api.json +9 -7
  61. package/css-pseudo.json +67 -0
  62. package/css-regions.json +8 -7
  63. package/css-rhythm.json +69 -10
  64. package/css-round-display.json +47 -10
  65. package/css-ruby.json +136 -8
  66. package/css-scoping.json +27 -0
  67. package/css-scroll-anchoring.json +20 -5
  68. package/css-scroll-snap-2.json +272 -10
  69. package/css-scroll-snap.json +218 -29
  70. package/css-scrollbars.json +41 -6
  71. package/css-shadow-parts.json +8 -5
  72. package/css-shapes-2.json +190 -43
  73. package/css-shapes.json +130 -36
  74. package/css-size-adjust.json +26 -5
  75. package/css-sizing-4.json +404 -23
  76. package/css-sizing.json +231 -12
  77. package/css-speech.json +619 -35
  78. package/css-syntax.json +193 -92
  79. package/css-tables.json +10 -9
  80. package/css-text-4.json +800 -40
  81. package/css-text-decor-4.json +394 -23
  82. package/css-text-decor.json +159 -14
  83. package/css-text.json +371 -20
  84. package/css-transforms-2.json +177 -40
  85. package/css-transforms.json +137 -45
  86. package/css-transitions.json +33 -14
  87. package/css-ui.json +436 -42
  88. package/css-values-5.json +99 -14
  89. package/css-values.json +653 -146
  90. package/css-variables.json +12 -7
  91. package/css-view-transitions.json +45 -7
  92. package/css-will-change.json +36 -7
  93. package/css-writing-modes.json +141 -10
  94. package/fill-stroke.json +290 -35
  95. package/filter-effects-2.json +6 -5
  96. package/filter-effects.json +109 -45
  97. package/fullscreen.json +15 -0
  98. package/mathml-core.json +10 -9
  99. package/mediaqueries-5.json +505 -52
  100. package/mediaqueries.json +307 -40
  101. package/motion.json +99 -16
  102. package/package.json +1 -1
  103. package/scroll-animations.json +225 -24
  104. package/selectors.json +368 -30
  105. package/svg-strokes.json +8 -7
  106. package/upgrade-insecure-requests.json +26 -0
  107. package/html.json +0 -19
package/css-color-5.json CHANGED
@@ -3,10 +3,11 @@
3
3
  "title": "CSS Color Module Level 5",
4
4
  "url": "https://drafts.csswg.org/css-color-5/"
5
5
  },
6
- "properties": {},
7
- "atrules": {
8
- "@color-profile": {
9
- "value": "@color-profile [<dashed-ident> | device-cmyk] { <declaration-list> }",
6
+ "properties": [],
7
+ "atrules": [
8
+ {
9
+ "name": "@color-profile",
10
+ "prose": "The @color-profile rule defines and names a color profile which can later be used in the color() function to specify a color.",
10
11
  "descriptors": [
11
12
  {
12
13
  "name": "src",
@@ -18,7 +19,33 @@
18
19
  "name": "rendering-intent",
19
20
  "for": "@color-profile",
20
21
  "value": "relative-colorimetric | absolute-colorimetric | perceptual | saturation",
21
- "initial": "relative-colorimetric"
22
+ "initial": "relative-colorimetric",
23
+ "values": [
24
+ {
25
+ "name": "relative-colorimetric",
26
+ "prose": "Media-relative colorimetric is required to leave source colors that fall inside the destination medium gamut unchanged relative to the respective media white points. Source colors that are out of the destination medium gamut are mapped to colors on the gamut boundary using a variety of different methods. The media-relative colorimetric rendering intent is often used with black point compensation, where the source medium black point is mapped to the destination medium black point as well. This method must map the source white point to the destination white point. If black point compensation is in use, the source black point must also be mapped to the destination black point. Adaptation algorithms should be used to adjust for the change in white point. Relative relationships of colors inside both source and destination gamuts should be preserved. Relative relationships of colors outside the destination gamut may be changed.",
27
+ "type": "value",
28
+ "value": "relative-colorimetric"
29
+ },
30
+ {
31
+ "name": "absolute-colorimetric",
32
+ "prose": "ICC-absolute colorimetric is required to leave source colors that fall inside the destination medium gamut unchanged relative to the adopted white (a perfect reflecting diffuser). Source colors that are out of the destination medium gamut are mapped to colors on the gamut boundary using a variety of different methods. This method produces the most accurate color matching of in-gamut colors, but will result in highlight clipping if the destination medium white point is lower than the source medium white point. For this reason it is recommended for use only in applications that need exact color matching and where highlight clipping is not a concern. This method MUST disable white point matching and black point matching when converting colors. In general, this option is not recommended except for testing purposes.",
33
+ "type": "value",
34
+ "value": "absolute-colorimetric"
35
+ },
36
+ {
37
+ "name": "perceptual",
38
+ "prose": "This method is often the preferred choice for images, especially when there are substantial differences between the source and destination (such as a screen display image reproduced on a reflection print). It takes the colors of the source image and re-optimizes the appearance for the destination medium using proprietary methods. This re-optimization may result in colors within both the source and destination gamuts being changed, although perceptual transforms are supposed to maintain the basic artistic intent of the original in the reproduction. They will not attempt to correct errors in the source image. This method should maintain relative color values among the pixels as they are mapped to the target device gamut. This method may change pixel values that were originally within the target device gamut, in order to avoid hue shifts and discontinuities and to preserve as much as possible the overall appearance of the scene.",
39
+ "type": "value",
40
+ "value": "perceptual"
41
+ },
42
+ {
43
+ "name": "saturation",
44
+ "prose": "This option was created to preserve the relative saturation (chroma) of the original, and to keep solid colors pure. However, it experienced interoperability problems like the perceptual intent, and as solid color preservation is not amenable to a reference medium solution using v4 profiles does not solve the problem. Use of this rendering intent is not recommended unless the specific source and destination profiles to be used have been checked to ensure the combination produces the desired result. This option should preserve the relative saturation (chroma) values of the original pixels. Out of gamut colors should be converted to colors that have the same saturation but fall just inside the gamut.",
45
+ "type": "value",
46
+ "value": "saturation"
47
+ }
48
+ ]
22
49
  },
23
50
  {
24
51
  "name": "components",
@@ -26,63 +53,321 @@
26
53
  "value": "<ident>#",
27
54
  "initial": "n/a"
28
55
  }
29
- ]
56
+ ],
57
+ "value": "@color-profile [<dashed-ident> | device-cmyk] { <declaration-list> }"
30
58
  }
31
- },
32
- "valuespaces": {
33
- "<color-mix()>": {
59
+ ],
60
+ "selectors": [],
61
+ "values": [
62
+ {
63
+ "name": "color-mix()",
64
+ "type": "function",
34
65
  "value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})"
35
66
  },
36
- "<rgb()>": {
37
- "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )"
67
+ {
68
+ "name": "rgb()",
69
+ "type": "function",
70
+ "value": "rgb( [<percentage> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [<number> | none]{3} [ / [<alpha-value> | none] ]? ) | rgb( [ from <color> ]? [ <number> | <percentage> | none]{3} [ / [<alpha-value> | none] ]? )",
71
+ "values": [
72
+ {
73
+ "name": "r",
74
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
75
+ "type": "value",
76
+ "value": "r"
77
+ },
78
+ {
79
+ "name": "g",
80
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
81
+ "type": "value",
82
+ "value": "g"
83
+ },
84
+ {
85
+ "name": "b",
86
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
87
+ "type": "value",
88
+ "value": "b"
89
+ },
90
+ {
91
+ "name": "alpha",
92
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
93
+ "type": "value",
94
+ "value": "alpha"
95
+ }
96
+ ]
38
97
  },
39
- "<alpha-value>": {
98
+ {
99
+ "name": "<alpha-value>",
100
+ "type": "type",
40
101
  "value": "<number> | <percentage>"
41
102
  },
42
- "<hsl()>": {
43
- "value": "hsl([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
103
+ {
104
+ "name": "hsl()",
105
+ "type": "function",
106
+ "value": "hsl([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
107
+ "values": [
108
+ {
109
+ "name": "h",
110
+ "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after its conversion to sRGB, normalized to a [0deg, 360deg) range",
111
+ "type": "value",
112
+ "value": "h"
113
+ },
114
+ {
115
+ "name": "s",
116
+ "prose": "s and l are <percentage>s or <number>s that correspond to the origin color’s HSL saturation and lightness after its conversion to sRGB",
117
+ "type": "value",
118
+ "value": "s"
119
+ },
120
+ {
121
+ "name": "l",
122
+ "prose": "s and l are <percentage>s or <number>s that correspond to the origin color’s HSL saturation and lightness after its conversion to sRGB",
123
+ "type": "value",
124
+ "value": "l"
125
+ },
126
+ {
127
+ "name": "alpha",
128
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
129
+ "type": "value",
130
+ "value": "alpha"
131
+ }
132
+ ]
44
133
  },
45
- "<hwb()>": {
46
- "value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
134
+ {
135
+ "name": "hwb()",
136
+ "type": "function",
137
+ "value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
138
+ "values": [
139
+ {
140
+ "name": "h",
141
+ "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after its conversion to sRGB, normalized to a [0deg, 360deg) range",
142
+ "type": "value",
143
+ "value": "h"
144
+ },
145
+ {
146
+ "name": "w",
147
+ "prose": "w and b are <percentage>s or <number>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
148
+ "type": "value",
149
+ "value": "w"
150
+ },
151
+ {
152
+ "name": "b",
153
+ "prose": "w and b are <percentage>s or <number>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
154
+ "type": "value",
155
+ "value": "b"
156
+ },
157
+ {
158
+ "name": "alpha",
159
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
160
+ "type": "value",
161
+ "value": "alpha"
162
+ }
163
+ ]
47
164
  },
48
- "<lab()>": {
49
- "value": "lab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
165
+ {
166
+ "name": "lab()",
167
+ "type": "function",
168
+ "value": "lab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
169
+ "values": [
170
+ {
171
+ "name": "l",
172
+ "prose": "l is a <percentage> or <number> that corresponds to the origin color’s CIE Lightness",
173
+ "type": "value",
174
+ "value": "l"
175
+ },
176
+ {
177
+ "name": "a",
178
+ "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s CIELab a and b axes",
179
+ "type": "value",
180
+ "value": "a"
181
+ },
182
+ {
183
+ "name": "b",
184
+ "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s CIELab a and b axes",
185
+ "type": "value",
186
+ "value": "b"
187
+ },
188
+ {
189
+ "name": "alpha",
190
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
191
+ "type": "value",
192
+ "value": "alpha"
193
+ }
194
+ ]
50
195
  },
51
- "<oklab()>": {
52
- "value": "oklab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
196
+ {
197
+ "name": "oklab()",
198
+ "type": "function",
199
+ "value": "oklab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
200
+ "values": [
201
+ {
202
+ "name": "l",
203
+ "prose": "l is a <percentage> or <number> that corresponds to the origin color’s Oklab Lightness",
204
+ "type": "value",
205
+ "value": "l"
206
+ },
207
+ {
208
+ "name": "a",
209
+ "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s Oklab a and b axes",
210
+ "type": "value",
211
+ "value": "a"
212
+ },
213
+ {
214
+ "name": "b",
215
+ "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s Oklab a and b axes",
216
+ "type": "value",
217
+ "value": "b"
218
+ },
219
+ {
220
+ "name": "alpha",
221
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
222
+ "type": "value",
223
+ "value": "alpha"
224
+ }
225
+ ]
53
226
  },
54
- "<lch()>": {
55
- "value": "lch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
227
+ {
228
+ "name": "lch()",
229
+ "type": "function",
230
+ "value": "lch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
231
+ "values": [
232
+ {
233
+ "name": "l",
234
+ "prose": "l is a <percentage> or <number> that corresponds to the origin color’s CIE Lightness",
235
+ "type": "value",
236
+ "value": "l"
237
+ },
238
+ {
239
+ "name": "c",
240
+ "prose": "c is a <percentage> or <number> that corresponds to the origin color’s LCH chroma",
241
+ "type": "value",
242
+ "value": "c"
243
+ },
244
+ {
245
+ "name": "h",
246
+ "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, normalized to a [0deg, 360deg) range.",
247
+ "type": "value",
248
+ "value": "h"
249
+ },
250
+ {
251
+ "name": "alpha",
252
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
253
+ "type": "value",
254
+ "value": "alpha"
255
+ }
256
+ ]
56
257
  },
57
- "<oklch()>": {
58
- "value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
258
+ {
259
+ "name": "oklch()",
260
+ "type": "function",
261
+ "value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
262
+ "values": [
263
+ {
264
+ "name": "l",
265
+ "prose": "l is a <percentage> or <number> that corresponds to the origin color’s Oklab Lightness",
266
+ "type": "value",
267
+ "value": "l"
268
+ },
269
+ {
270
+ "name": "c",
271
+ "prose": "c is a <percentage> or <number> that corresponds to the origin color’s Oklch chroma",
272
+ "type": "value",
273
+ "value": "c"
274
+ },
275
+ {
276
+ "name": "h",
277
+ "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, normalized to a [0deg, 360deg) range.",
278
+ "type": "value",
279
+ "value": "h"
280
+ },
281
+ {
282
+ "name": "alpha",
283
+ "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
284
+ "type": "value",
285
+ "value": "alpha"
286
+ }
287
+ ]
59
288
  },
60
- "<color()>": {
61
- "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
289
+ {
290
+ "name": "color()",
291
+ "type": "function",
292
+ "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
293
+ "values": [
294
+ {
295
+ "name": "r",
296
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
297
+ "type": "value",
298
+ "value": "r"
299
+ },
300
+ {
301
+ "name": "g",
302
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
303
+ "type": "value",
304
+ "value": "g"
305
+ },
306
+ {
307
+ "name": "b",
308
+ "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
309
+ "type": "value",
310
+ "value": "b"
311
+ },
312
+ {
313
+ "name": "x",
314
+ "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
315
+ "type": "value",
316
+ "value": "x"
317
+ },
318
+ {
319
+ "name": "y",
320
+ "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
321
+ "type": "value",
322
+ "value": "y"
323
+ },
324
+ {
325
+ "name": "z",
326
+ "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
327
+ "type": "value",
328
+ "value": "z"
329
+ }
330
+ ]
62
331
  },
63
- "<colorspace-params>": {
332
+ {
333
+ "name": "<colorspace-params>",
334
+ "type": "type",
64
335
  "value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
65
336
  },
66
- "<custom-params>": {
337
+ {
338
+ "name": "<custom-params>",
339
+ "type": "type",
67
340
  "value": "<dashed-ident> [ <number> | <percentage> | none ]#"
68
341
  },
69
- "<predefined-rgb-params>": {
342
+ {
343
+ "name": "<predefined-rgb-params>",
344
+ "type": "type",
70
345
  "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
71
346
  },
72
- "<predefined-rgb>": {
347
+ {
348
+ "name": "<predefined-rgb>",
349
+ "type": "type",
73
350
  "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
74
351
  },
75
- "<xyz-params>": {
352
+ {
353
+ "name": "<xyz-params>",
354
+ "type": "type",
76
355
  "value": "<xyz> [ <number> | <percentage> | none ]{3}"
77
356
  },
78
- "<xyz>": {
357
+ {
358
+ "name": "<xyz>",
359
+ "type": "type",
79
360
  "value": "xyz | xyz-d50 | xyz-d65"
80
361
  },
81
- "<device-cmyk()>": {
362
+ {
363
+ "name": "device-cmyk()",
364
+ "type": "function",
82
365
  "value": "device-cmyk( <cmyk-component>{4} [ / <alpha-value> ]? )"
83
366
  },
84
- "<cmyk-component>": {
367
+ {
368
+ "name": "<cmyk-component>",
369
+ "type": "type",
85
370
  "value": "<number> | <percentage>"
86
371
  }
87
- }
372
+ ]
88
373
  }
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Color Adjustment Module Level 1",
4
4
  "url": "https://drafts.csswg.org/css-color-adjust-1/"
5
5
  },
6
- "properties": {
7
- "color-scheme": {
6
+ "properties": [
7
+ {
8
8
  "name": "color-scheme",
9
9
  "value": "normal | [ light | dark | <custom-ident> ]+ && only?",
10
10
  "initial": "normal",
@@ -14,12 +14,44 @@
14
14
  "computedValue": "the keyword normal, or an ordered list of specified color scheme keywords",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "discrete",
17
+ "values": [
18
+ {
19
+ "name": "normal",
20
+ "prose": "Indicates that the element supports the page’s supported color schemes, if they are set, or that it supports no color schemes at all otherwise.",
21
+ "type": "value",
22
+ "value": "normal"
23
+ },
24
+ {
25
+ "name": "light",
26
+ "prose": "Indicates that the element supports a light color scheme.",
27
+ "type": "value",
28
+ "value": "light"
29
+ },
30
+ {
31
+ "name": "dark",
32
+ "prose": "Indicates that the element supports a dark color scheme.",
33
+ "type": "value",
34
+ "value": "dark"
35
+ },
36
+ {
37
+ "name": "only",
38
+ "prose": "Forbids the user agent from overriding the color scheme for the element.",
39
+ "type": "value",
40
+ "value": "only"
41
+ },
42
+ {
43
+ "name": "<custom-ident>",
44
+ "prose": "<custom-ident> values are meaningless, and exist only for future compatibility, so that future added color schemes do not invalidate the color-scheme declaration in legacy user agents. User agents must not interpret any <custom-ident> values as having a meaning; any additional recognized color schemes must be explicitly added to this property’s grammar. The normal, light, dark, and only keywords are not valid <custom-ident>s in this property.",
45
+ "type": "value",
46
+ "value": "<custom-ident>"
47
+ }
48
+ ],
17
49
  "styleDeclaration": [
18
50
  "color-scheme",
19
51
  "colorScheme"
20
52
  ]
21
53
  },
22
- "forced-color-adjust": {
54
+ {
23
55
  "name": "forced-color-adjust",
24
56
  "value": "auto | none | preserve-parent-color",
25
57
  "initial": "auto",
@@ -29,12 +61,32 @@
29
61
  "computedValue": "as specified",
30
62
  "canonicalOrder": "per grammar",
31
63
  "animationType": "not animatable",
64
+ "values": [
65
+ {
66
+ "name": "auto",
67
+ "prose": "The element’s colors are automatically adjusted by the UA in forced colors mode.",
68
+ "type": "value",
69
+ "value": "auto"
70
+ },
71
+ {
72
+ "name": "none",
73
+ "prose": "The element’s colors are not automatically adjusted by the UA in forced colors mode. Authors should only use this value when they are themselves adjusting the colors to support the user’s color and contrast needs and need to make changes to the UA’s default adjustments to provide a more appropriate user experience for those elements.",
74
+ "type": "value",
75
+ "value": "none"
76
+ },
77
+ {
78
+ "name": "preserve-parent-color",
79
+ "prose": "In forced colors mode, if the color property inherits from its parent (i.e. there is no cascaded value or the cascaded value is currentColor, inherit, or another keyword that inherits from the parent), then it computes to the used color of its parent’s color value. In all other respects, behaves the same as none.",
80
+ "type": "value",
81
+ "value": "preserve-parent-color"
82
+ }
83
+ ],
32
84
  "styleDeclaration": [
33
85
  "forced-color-adjust",
34
86
  "forcedColorAdjust"
35
87
  ]
36
88
  },
37
- "print-color-adjust": {
89
+ {
38
90
  "name": "print-color-adjust",
39
91
  "value": "economy | exact",
40
92
  "initial": "economy",
@@ -44,12 +96,26 @@
44
96
  "computedValue": "specified keyword",
45
97
  "canonicalOrder": "per grammar",
46
98
  "animationType": "discrete",
99
+ "values": [
100
+ {
101
+ "name": "economy",
102
+ "prose": "The user agent should make adjustments to the page’s styling as it deems necessary and prudent for the output device. For example, if the document is being printed, a user agent might ignore any backgrounds and adjust text color to be sufficiently dark, to minimize ink usage.",
103
+ "type": "value",
104
+ "value": "economy"
105
+ },
106
+ {
107
+ "name": "exact",
108
+ "prose": "This value indicates that the page is using color and styling on the specified element in a way which is important and significant, and which should not be tweaked or changed except at the user’s request. For example, a mapping website offering printed directions might \"zebra-stripe\" the steps in the directions, alternating between white and light gray backgrounds. Losing this zebra-striping and having a pure-white background would make the directions harder to read with a quick glance when distracted in a car.",
109
+ "type": "value",
110
+ "value": "exact"
111
+ }
112
+ ],
47
113
  "styleDeclaration": [
48
114
  "print-color-adjust",
49
115
  "printColorAdjust"
50
116
  ]
51
117
  },
52
- "color-adjust": {
118
+ {
53
119
  "name": "color-adjust",
54
120
  "value": "<'print-color-adjust'>",
55
121
  "initial": "see individual properties",
@@ -64,7 +130,8 @@
64
130
  "colorAdjust"
65
131
  ]
66
132
  }
67
- },
68
- "atrules": {},
69
- "valuespaces": {}
133
+ ],
134
+ "atrules": [],
135
+ "selectors": [],
136
+ "values": []
70
137
  }