@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
package/css-values.json CHANGED
@@ -10,349 +10,411 @@
10
10
  {
11
11
  "name": "<ident>",
12
12
  "prose": "CSS identifiers, generically denoted by <ident>, consist of a sequence of characters conforming to the <ident-token> grammar. [CSS-SYNTAX-3] Identifiers cannot be quoted; otherwise they would be interpreted as strings. CSS properties accept two classes of identifiers: pre-defined keywords and author-defined identifiers.",
13
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-ident",
13
14
  "type": "type"
14
15
  },
15
16
  {
16
17
  "name": "<custom-ident>",
17
18
  "prose": "Some properties accept arbitrary author-defined identifiers as a component value. This generic data type is denoted by <custom-ident>, and represents any valid CSS identifier that would not be misinterpreted as a pre-defined keyword in that property’s value definition. Such identifiers are fully case-sensitive (meaning they’re compared using the \"identical to\" operation), even in the ASCII range (e.g. example and EXAMPLE are two different, unrelated user-defined identifiers).",
19
+ "href": "https://drafts.csswg.org/css-values-4/#identifier-value",
18
20
  "type": "type"
19
21
  },
20
22
  {
21
23
  "name": "<dashed-ident>",
22
24
  "prose": "The <dashed-ident> production is a <custom-ident>, with all the case-sensitivity that implies, with the additional restriction that it must start with two dashes (U+002D HYPHEN-MINUS).",
25
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-dashed-ident",
23
26
  "type": "type"
24
27
  },
25
28
  {
26
29
  "name": "<string>",
27
30
  "prose": "Strings are denoted by <string>. When written literally, they consist of a sequence of characters delimited by double quotes or single quotes, corresponding to the <string-token> production in the CSS Syntax Module [CSS-SYNTAX-3].",
31
+ "href": "https://drafts.csswg.org/css-values-4/#string-value",
28
32
  "type": "type"
29
33
  },
30
34
  {
31
35
  "name": "url()",
32
36
  "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource.",
37
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-url",
33
38
  "type": "function",
34
39
  "value": "url( <string> <url-modifier>* ) | <url-token>"
35
40
  },
36
41
  {
37
42
  "name": "src()",
38
43
  "prose": "The <url> type, written with the url() and src() functions, represents a URL, which is a pointer to a resource.",
44
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-src",
39
45
  "type": "function",
40
46
  "value": "src( <string> <url-modifier>* )"
41
47
  },
42
48
  {
43
49
  "name": "<url>",
50
+ "href": "https://drafts.csswg.org/css-values-4/#url-value",
44
51
  "type": "type",
45
52
  "value": "<url()> | <src()>"
46
53
  },
47
54
  {
48
55
  "name": "<url-modifier>",
49
56
  "prose": "<url>s support specifying additional <url-modifier>s, which change the meaning or the interpretation of the URL somehow. A <url-modifier> is either an <ident> or a functional notation.",
57
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-url-modifier",
50
58
  "type": "type"
51
59
  },
52
60
  {
53
61
  "name": "<integer>",
54
62
  "prose": "Integer values are denoted by <integer>.",
63
+ "href": "https://drafts.csswg.org/css-values-4/#integer-value",
55
64
  "type": "type"
56
65
  },
57
66
  {
58
67
  "name": "<number>",
59
68
  "prose": "Number values are denoted by <number>, and represent real numbers, possibly with a fractional component.",
69
+ "href": "https://drafts.csswg.org/css-values-4/#number-value",
60
70
  "type": "type"
61
71
  },
62
72
  {
63
73
  "name": "<zero>",
64
74
  "prose": "The value <zero> represents a literal number with the value 0. Expressions that merely evaluate to a <number> with the value 0 (for example, calc(0)) do not match <zero>; only literal <number-token>s do.",
75
+ "href": "https://drafts.csswg.org/css-values-4/#zero-value",
65
76
  "type": "type"
66
77
  },
67
78
  {
68
79
  "name": "<dimension>",
69
80
  "prose": "The general term dimension refers to a number with a unit attached to it; and is denoted by <dimension>.",
81
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-dimension",
70
82
  "type": "type"
71
83
  },
72
84
  {
73
85
  "name": "<percentage>",
74
86
  "prose": "Percentage values are denoted by <percentage>, and indicates a value that is some fraction of another reference value.",
87
+ "href": "https://drafts.csswg.org/css-values-4/#percentage-value",
75
88
  "type": "type"
76
89
  },
77
90
  {
78
91
  "name": "<length-percentage>",
79
92
  "value": "[ <length> | <percentage> ]",
93
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-length-percentage",
80
94
  "type": "type"
81
95
  },
82
96
  {
83
97
  "name": "<frequency-percentage>",
84
98
  "value": "[ <frequency> | <percentage> ]",
99
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-frequency-percentage",
85
100
  "type": "type"
86
101
  },
87
102
  {
88
103
  "name": "<angle-percentage>",
89
104
  "value": "[ <angle> | <percentage> ]",
105
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-angle-percentage",
90
106
  "type": "type"
91
107
  },
92
108
  {
93
109
  "name": "<time-percentage>",
94
110
  "value": "[ <time> | <percentage> ]",
111
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-time-percentage",
95
112
  "type": "type"
96
113
  },
97
114
  {
98
115
  "name": "<ratio>",
99
116
  "prose": "Ratio values are denoted by <ratio>, and represent the ratio of two numeric values. It most often represents an aspect ratio, relating a width (first) to a height (second).",
117
+ "href": "https://drafts.csswg.org/css-values-4/#ratio-value",
100
118
  "type": "type",
101
119
  "value": "<number [0,∞]> [ / <number [0,∞]> ]?"
102
120
  },
103
121
  {
104
122
  "name": "<length>",
105
123
  "prose": "Lengths refer to distance measurements and are denoted by <length> in the property definitions. A length is a dimension.",
124
+ "href": "https://drafts.csswg.org/css-values-4/#length-value",
106
125
  "type": "type",
107
126
  "values": [
108
127
  {
109
128
  "name": "em",
110
129
  "prose": "Equal to the computed value of the font-size property of the element on which it is used. The rule: h1 { line-height: 1.2em } means that the line height of h1 elements will be 20% greater than the font size of h1 element. On the other hand: h1 { font-size: 1.2em } means that the font size of h1 elements will be 20% greater than the computed font size inherited by h1 elements.",
130
+ "href": "https://drafts.csswg.org/css-values-4/#em",
111
131
  "type": "value",
112
132
  "value": "em"
113
133
  },
114
134
  {
115
135
  "name": "rem",
116
136
  "prose": "Equal to the computed value of the em unit on the root element.",
137
+ "href": "https://drafts.csswg.org/css-values-4/#rem",
117
138
  "type": "value",
118
139
  "value": "rem"
119
140
  },
120
141
  {
121
142
  "name": "ex",
122
143
  "prose": "Equal to the used x-height of the first available font [CSS3-FONTS]. The x-height is so called because it is often equal to the height of the lowercase \"x\". However, an ex is defined even for fonts that do not contain an \"x\". The x-height of a font can be found in different ways. Some fonts contain reliable metrics for the x-height. If reliable font metrics are not available, UAs may determine the x-height from the height of a lowercase glyph. One possible heuristic is to look at how far the glyph for the lowercase \"o\" extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the x-height, a value of 0.5em must be assumed.",
144
+ "href": "https://drafts.csswg.org/css-values-4/#ex",
123
145
  "type": "value",
124
146
  "value": "ex"
125
147
  },
126
148
  {
127
149
  "name": "rex",
128
150
  "prose": "Equal to the value of the ex unit on the root element.",
151
+ "href": "https://drafts.csswg.org/css-values-4/#rex",
129
152
  "type": "value",
130
153
  "value": "rex"
131
154
  },
132
155
  {
133
156
  "name": "cap",
134
157
  "prose": "Equal to the used cap-height of the first available font [CSS3-FONTS]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. However, a cap is defined even for fonts that do not contain Latin letters. The cap-height of a font can be found in different ways. Some fonts contain reliable metrics for the cap-height. If reliable font metrics are not available, UAs may determine the cap-height from the height of an uppercase glyph. One possible heuristic is to look at how far the glyph for the uppercase “O” extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the cap-height, the font’s ascent must be used.",
158
+ "href": "https://drafts.csswg.org/css-values-4/#cap",
135
159
  "type": "value",
136
160
  "value": "cap"
137
161
  },
138
162
  {
139
163
  "name": "rcap",
140
164
  "prose": "Equal to the value of the cap unit on the root element.",
165
+ "href": "https://drafts.csswg.org/css-values-4/#rcap",
141
166
  "type": "value",
142
167
  "value": "rcap"
143
168
  },
144
169
  {
145
170
  "name": "ch",
146
171
  "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
172
+ "href": "https://drafts.csswg.org/css-values-4/#ch",
147
173
  "type": "value",
148
174
  "value": "ch"
149
175
  },
150
176
  {
151
177
  "name": "rch",
152
178
  "prose": "Equal to the value of the ch unit on the root element.",
179
+ "href": "https://drafts.csswg.org/css-values-4/#rch",
153
180
  "type": "value",
154
181
  "value": "rch"
155
182
  },
156
183
  {
157
184
  "name": "ic",
158
185
  "prose": "Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph found in the font used to render it. In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.",
186
+ "href": "https://drafts.csswg.org/css-values-4/#ic",
159
187
  "type": "value",
160
188
  "value": "ic"
161
189
  },
162
190
  {
163
191
  "name": "ric",
164
192
  "prose": "Equal to the value of the ic unit on the root element.",
193
+ "href": "https://drafts.csswg.org/css-values-4/#ric",
165
194
  "type": "value",
166
195
  "value": "ric"
167
196
  },
168
197
  {
169
198
  "name": "lh",
170
199
  "prose": "Equal to the computed value of the line-height property of the element on which it is used, converting normal to an absolute length by using only the metrics of the first available font.",
200
+ "href": "https://drafts.csswg.org/css-values-4/#lh",
171
201
  "type": "value",
172
202
  "value": "lh"
173
203
  },
174
204
  {
175
205
  "name": "rlh",
176
206
  "prose": "Equal to the value of the lh unit on the root element.",
207
+ "href": "https://drafts.csswg.org/css-values-4/#rlh",
177
208
  "type": "value",
178
209
  "value": "rlh"
179
210
  },
180
211
  {
181
212
  "name": "vw",
182
213
  "prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
214
+ "href": "https://drafts.csswg.org/css-values-4/#vw",
183
215
  "type": "value",
184
216
  "value": "vw"
185
217
  },
186
218
  {
187
219
  "name": "svw",
188
220
  "prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
221
+ "href": "https://drafts.csswg.org/css-values-4/#svw",
189
222
  "type": "value",
190
223
  "value": "svw"
191
224
  },
192
225
  {
193
226
  "name": "lvw",
194
227
  "prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
228
+ "href": "https://drafts.csswg.org/css-values-4/#lvw",
195
229
  "type": "value",
196
230
  "value": "lvw"
197
231
  },
198
232
  {
199
233
  "name": "dvw",
200
234
  "prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
235
+ "href": "https://drafts.csswg.org/css-values-4/#dvw",
201
236
  "type": "value",
202
237
  "value": "dvw"
203
238
  },
204
239
  {
205
240
  "name": "vh",
206
241
  "prose": "Equal to 1% of the height of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively.",
242
+ "href": "https://drafts.csswg.org/css-values-4/#vh",
207
243
  "type": "value",
208
244
  "value": "vh"
209
245
  },
210
246
  {
211
247
  "name": "svh",
212
248
  "prose": "Equal to 1% of the height of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively.",
249
+ "href": "https://drafts.csswg.org/css-values-4/#svh",
213
250
  "type": "value",
214
251
  "value": "svh"
215
252
  },
216
253
  {
217
254
  "name": "lvh",
218
255
  "prose": "Equal to 1% of the height of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively.",
256
+ "href": "https://drafts.csswg.org/css-values-4/#lvh",
219
257
  "type": "value",
220
258
  "value": "lvh"
221
259
  },
222
260
  {
223
261
  "name": "dvh",
224
262
  "prose": "Equal to 1% of the height of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively.",
263
+ "href": "https://drafts.csswg.org/css-values-4/#dvh",
225
264
  "type": "value",
226
265
  "value": "dvh"
227
266
  },
228
267
  {
229
268
  "name": "vi",
230
269
  "prose": "Equal to 1% of the size of the large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s inline axis.",
270
+ "href": "https://drafts.csswg.org/css-values-4/#vi",
231
271
  "type": "value",
232
272
  "value": "vi"
233
273
  },
234
274
  {
235
275
  "name": "svi",
236
276
  "prose": "Equal to 1% of the size of the large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s inline axis.",
277
+ "href": "https://drafts.csswg.org/css-values-4/#svi",
237
278
  "type": "value",
238
279
  "value": "svi"
239
280
  },
240
281
  {
241
282
  "name": "lvi",
242
283
  "prose": "Equal to 1% of the size of the large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s inline axis.",
284
+ "href": "https://drafts.csswg.org/css-values-4/#lvi",
243
285
  "type": "value",
244
286
  "value": "lvi"
245
287
  },
246
288
  {
247
289
  "name": "dvi",
248
290
  "prose": "Equal to 1% of the size of the large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s inline axis.",
291
+ "href": "https://drafts.csswg.org/css-values-4/#dvi",
249
292
  "type": "value",
250
293
  "value": "dvi"
251
294
  },
252
295
  {
253
296
  "name": "vb",
254
297
  "prose": "Equal to 1% of the size of the initial containing block large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s block axis.",
298
+ "href": "https://drafts.csswg.org/css-values-4/#vb",
255
299
  "type": "value",
256
300
  "value": "vb"
257
301
  },
258
302
  {
259
303
  "name": "svb",
260
304
  "prose": "Equal to 1% of the size of the initial containing block large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s block axis.",
305
+ "href": "https://drafts.csswg.org/css-values-4/#svb",
261
306
  "type": "value",
262
307
  "value": "svb"
263
308
  },
264
309
  {
265
310
  "name": "lvb",
266
311
  "prose": "Equal to 1% of the size of the initial containing block large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s block axis.",
312
+ "href": "https://drafts.csswg.org/css-values-4/#lvb",
267
313
  "type": "value",
268
314
  "value": "lvb"
269
315
  },
270
316
  {
271
317
  "name": "dvb",
272
318
  "prose": "Equal to 1% of the size of the initial containing block large viewport size, small viewport size, large viewport size, and dynamic viewport size (respectively) in the box’s block axis.",
319
+ "href": "https://drafts.csswg.org/css-values-4/#dvb",
273
320
  "type": "value",
274
321
  "value": "dvb"
275
322
  },
276
323
  {
277
324
  "name": "vmin",
278
325
  "prose": "Equal to the smaller of *vw or *vh.",
326
+ "href": "https://drafts.csswg.org/css-values-4/#vmin",
279
327
  "type": "value",
280
328
  "value": "vmin"
281
329
  },
282
330
  {
283
331
  "name": "svmin",
284
332
  "prose": "Equal to the smaller of *vw or *vh.",
333
+ "href": "https://drafts.csswg.org/css-values-4/#svmin",
285
334
  "type": "value",
286
335
  "value": "svmin"
287
336
  },
288
337
  {
289
338
  "name": "lvmin",
290
339
  "prose": "Equal to the smaller of *vw or *vh.",
340
+ "href": "https://drafts.csswg.org/css-values-4/#lvmin",
291
341
  "type": "value",
292
342
  "value": "lvmin"
293
343
  },
294
344
  {
295
345
  "name": "dvmin",
296
346
  "prose": "Equal to the smaller of *vw or *vh.",
347
+ "href": "https://drafts.csswg.org/css-values-4/#dvmin",
297
348
  "type": "value",
298
349
  "value": "dvmin"
299
350
  },
300
351
  {
301
352
  "name": "vmax",
302
353
  "prose": "Equal to the larger of *vw or *vh.",
354
+ "href": "https://drafts.csswg.org/css-values-4/#vmax",
303
355
  "type": "value",
304
356
  "value": "vmax"
305
357
  },
306
358
  {
307
359
  "name": "svmax",
308
360
  "prose": "Equal to the larger of *vw or *vh.",
361
+ "href": "https://drafts.csswg.org/css-values-4/#svmax",
309
362
  "type": "value",
310
363
  "value": "svmax"
311
364
  },
312
365
  {
313
366
  "name": "lvmax",
314
367
  "prose": "Equal to the larger of *vw or *vh.",
368
+ "href": "https://drafts.csswg.org/css-values-4/#lvmax",
315
369
  "type": "value",
316
370
  "value": "lvmax"
317
371
  },
318
372
  {
319
373
  "name": "dvmax",
320
374
  "prose": "Equal to the larger of *vw or *vh.",
375
+ "href": "https://drafts.csswg.org/css-values-4/#dvmax",
321
376
  "type": "value",
322
377
  "value": "dvmax"
323
378
  },
324
379
  {
325
380
  "name": "cm",
381
+ "href": "https://drafts.csswg.org/css-values-4/#cm",
326
382
  "type": "value",
327
383
  "value": "cm"
328
384
  },
329
385
  {
330
386
  "name": "mm",
387
+ "href": "https://drafts.csswg.org/css-values-4/#mm",
331
388
  "type": "value",
332
389
  "value": "mm"
333
390
  },
334
391
  {
335
392
  "name": "Q",
393
+ "href": "https://drafts.csswg.org/css-values-4/#Q",
336
394
  "type": "value",
337
395
  "value": "Q"
338
396
  },
339
397
  {
340
398
  "name": "in",
399
+ "href": "https://drafts.csswg.org/css-values-4/#in",
341
400
  "type": "value",
342
401
  "value": "in"
343
402
  },
344
403
  {
345
404
  "name": "pc",
405
+ "href": "https://drafts.csswg.org/css-values-4/#pc",
346
406
  "type": "value",
347
407
  "value": "pc"
348
408
  },
349
409
  {
350
410
  "name": "pt",
411
+ "href": "https://drafts.csswg.org/css-values-4/#pt",
351
412
  "type": "value",
352
413
  "value": "pt"
353
414
  },
354
415
  {
355
416
  "name": "px",
417
+ "href": "https://drafts.csswg.org/css-values-4/#px",
356
418
  "type": "value",
357
419
  "value": "px"
358
420
  }
@@ -361,29 +423,34 @@
361
423
  {
362
424
  "name": "<angle>",
363
425
  "prose": "Angle values are <dimension>s denoted by <angle>. The angle unit identifiers are:",
426
+ "href": "https://drafts.csswg.org/css-values-4/#angle-value",
364
427
  "type": "type",
365
428
  "values": [
366
429
  {
367
430
  "name": "deg",
368
431
  "prose": "Degrees. There are 360 degrees in a full circle.",
432
+ "href": "https://drafts.csswg.org/css-values-4/#deg",
369
433
  "type": "value",
370
434
  "value": "deg"
371
435
  },
372
436
  {
373
437
  "name": "grad",
374
438
  "prose": "Gradians, also known as \"gons\" or \"grades\". There are 400 gradians in a full circle.",
439
+ "href": "https://drafts.csswg.org/css-values-4/#grad",
375
440
  "type": "value",
376
441
  "value": "grad"
377
442
  },
378
443
  {
379
444
  "name": "rad",
380
445
  "prose": "Radians. There are 2π radians in a full circle.",
446
+ "href": "https://drafts.csswg.org/css-values-4/#rad",
381
447
  "type": "value",
382
448
  "value": "rad"
383
449
  },
384
450
  {
385
451
  "name": "turn",
386
452
  "prose": "Turns. There is 1 turn in a full circle.",
453
+ "href": "https://drafts.csswg.org/css-values-4/#turn",
387
454
  "type": "value",
388
455
  "value": "turn"
389
456
  }
@@ -392,17 +459,20 @@
392
459
  {
393
460
  "name": "<time>",
394
461
  "prose": "Time values are dimensions denoted by <time>. The time unit identifiers are:",
462
+ "href": "https://drafts.csswg.org/css-values-4/#time-value",
395
463
  "type": "type",
396
464
  "values": [
397
465
  {
398
466
  "name": "s",
399
467
  "prose": "Seconds.",
468
+ "href": "https://drafts.csswg.org/css-values-4/#s",
400
469
  "type": "value",
401
470
  "value": "s"
402
471
  },
403
472
  {
404
473
  "name": "ms",
405
474
  "prose": "Milliseconds. There are 1000 milliseconds in a second.",
475
+ "href": "https://drafts.csswg.org/css-values-4/#ms",
406
476
  "type": "value",
407
477
  "value": "ms"
408
478
  }
@@ -411,17 +481,20 @@
411
481
  {
412
482
  "name": "<frequency>",
413
483
  "prose": "Frequency values are dimensions denoted by <frequency>. The frequency unit identifiers are:",
484
+ "href": "https://drafts.csswg.org/css-values-4/#frequency-value",
414
485
  "type": "type",
415
486
  "values": [
416
487
  {
417
488
  "name": "Hz",
418
489
  "prose": "Hertz. It represents the number of occurrences per second.",
490
+ "href": "https://drafts.csswg.org/css-values-4/#Hz",
419
491
  "type": "value",
420
492
  "value": "Hz"
421
493
  },
422
494
  {
423
495
  "name": "kHz",
424
496
  "prose": "KiloHertz. A kiloHertz is 1000 Hertz.",
497
+ "href": "https://drafts.csswg.org/css-values-4/#kHz",
425
498
  "type": "value",
426
499
  "value": "kHz"
427
500
  }
@@ -430,29 +503,34 @@
430
503
  {
431
504
  "name": "<resolution>",
432
505
  "prose": "Resolution units are dimensions denoted by <resolution>. The resolution unit identifiers are:",
506
+ "href": "https://drafts.csswg.org/css-values-4/#resolution-value",
433
507
  "type": "type",
434
508
  "values": [
435
509
  {
436
510
  "name": "dpi",
437
511
  "prose": "Dots per inch.",
512
+ "href": "https://drafts.csswg.org/css-values-4/#dpi",
438
513
  "type": "value",
439
514
  "value": "dpi"
440
515
  },
441
516
  {
442
517
  "name": "dpcm",
443
518
  "prose": "Dots per centimeter.",
519
+ "href": "https://drafts.csswg.org/css-values-4/#dpcm",
444
520
  "type": "value",
445
521
  "value": "dpcm"
446
522
  },
447
523
  {
448
524
  "name": "dppx",
449
525
  "prose": "Dots per px unit.",
526
+ "href": "https://drafts.csswg.org/css-values-4/#dppx",
450
527
  "type": "value",
451
528
  "value": "dppx"
452
529
  },
453
530
  {
454
531
  "name": "x",
455
532
  "prose": "Dots per px unit.",
533
+ "href": "https://drafts.csswg.org/css-values-4/#x",
456
534
  "type": "value",
457
535
  "value": "x"
458
536
  }
@@ -461,42 +539,49 @@
461
539
  {
462
540
  "name": "<position>",
463
541
  "prose": "The <position> value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is interpreted as specified for background-position. [CSS3-BACKGROUND]",
542
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-position",
464
543
  "type": "type",
465
544
  "value": "[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right ] && [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
466
545
  },
467
546
  {
468
547
  "name": "calc()",
469
548
  "prose": "The calc() function is a math function that allows basic arithmetic to be performed on numerical values, using addition (+), subtraction (-), multiplication (*), division (/), and parentheses.",
549
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-calc",
470
550
  "type": "function",
471
551
  "value": "calc( <calc-sum> )",
472
552
  "values": [
473
553
  {
474
554
  "name": "e",
475
555
  "prose": "the base of the natural logarithm, approximately equal to 2.7182818284590452354.",
556
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-e",
476
557
  "type": "value",
477
558
  "value": "e"
478
559
  },
479
560
  {
480
561
  "name": "pi",
481
562
  "prose": "the ratio of a circle’s circumference to its diameter, approximately equal to 3.1415926535897932.",
563
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-pi",
482
564
  "type": "value",
483
565
  "value": "pi"
484
566
  },
485
567
  {
486
568
  "name": "infinity",
487
569
  "prose": "the value positive infinity (+∞)",
570
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-infinity",
488
571
  "type": "value",
489
572
  "value": "infinity"
490
573
  },
491
574
  {
492
575
  "name": "-infinity",
493
576
  "prose": "the value negative infinity (−∞)",
577
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-calc--infinity",
494
578
  "type": "value",
495
579
  "value": "-infinity"
496
580
  },
497
581
  {
498
582
  "name": "NaN",
499
583
  "prose": "the value NaN",
584
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-nan",
500
585
  "type": "value",
501
586
  "value": "NaN"
502
587
  }
@@ -505,53 +590,62 @@
505
590
  {
506
591
  "name": "min()",
507
592
  "prose": "The min() or max() functions contain one or more comma-separated calculations, and represent the smallest (most negative) or largest (most positive) of them, respectively.",
593
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-min",
508
594
  "type": "function",
509
595
  "value": "min( <calc-sum># )"
510
596
  },
511
597
  {
512
598
  "name": "max()",
513
599
  "prose": "The min() or max() functions contain one or more comma-separated calculations, and represent the smallest (most negative) or largest (most positive) of them, respectively.",
600
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-max",
514
601
  "type": "function",
515
602
  "value": "max( <calc-sum># )"
516
603
  },
517
604
  {
518
605
  "name": "clamp()",
519
606
  "prose": "The clamp() function takes three calculations—​a minimum value, a central value, and a maximum value—​and represents its central calculation, clamped according to its min and max calculations, favoring the min calculation if it conflicts with the max. (That is, given clamp(MIN, VAL, MAX), it represents exactly the same value as max(MIN, min(VAL, MAX))).",
607
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-clamp",
520
608
  "type": "function",
521
609
  "value": "clamp( <calc-sum>#{3} )"
522
610
  },
523
611
  {
524
612
  "name": "round()",
525
613
  "value": "round( <rounding-strategy>?, <calc-sum>, <calc-sum> )",
614
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-round",
526
615
  "type": "function"
527
616
  },
528
617
  {
529
618
  "name": "<rounding-strategy>",
530
619
  "prose": "If A is exactly equal to an integer multiple of B, round() resolves to A exactly (preserving whether A is 0⁻ or 0⁺, if relevant). Otherwise, there are two integer multiples of B that are potentially \"closest\" to A, lower B which is closer to −∞ and upper B which is closer to +∞. The following <rounding-strategy>s dictate how to choose between them:",
620
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-rounding-strategy",
531
621
  "type": "type",
532
622
  "value": "nearest | up | down | to-zero",
533
623
  "values": [
534
624
  {
535
625
  "name": "nearest",
536
626
  "prose": "Choose whichever of lower B and upper B that has the smallest absolute difference from A. If both have an equal difference (A is exactly between the two values), choose upper B.",
627
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-nearest",
537
628
  "type": "value",
538
629
  "value": "nearest"
539
630
  },
540
631
  {
541
632
  "name": "up",
542
633
  "prose": "Choose upper B.",
634
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-up",
543
635
  "type": "value",
544
636
  "value": "up"
545
637
  },
546
638
  {
547
639
  "name": "down",
548
640
  "prose": "Choose lower B.",
641
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-down",
549
642
  "type": "value",
550
643
  "value": "down"
551
644
  },
552
645
  {
553
646
  "name": "to-zero",
554
647
  "prose": "Choose whichever of lower B and upper B that has the smallest absolute difference from 0.",
648
+ "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-to-zero",
555
649
  "type": "value",
556
650
  "value": "to-zero"
557
651
  }
@@ -560,106 +654,127 @@
560
654
  {
561
655
  "name": "mod()",
562
656
  "value": "mod( <calc-sum>, <calc-sum> )",
657
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-mod",
563
658
  "type": "function"
564
659
  },
565
660
  {
566
661
  "name": "rem()",
567
662
  "value": "rem( <calc-sum>, <calc-sum> )",
663
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-rem",
568
664
  "type": "function"
569
665
  },
570
666
  {
571
667
  "name": "sin()",
572
668
  "value": "sin( <calc-sum> )",
669
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-sin",
573
670
  "type": "function"
574
671
  },
575
672
  {
576
673
  "name": "cos()",
577
674
  "value": "cos( <calc-sum> )",
675
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-cos",
578
676
  "type": "function"
579
677
  },
580
678
  {
581
679
  "name": "tan()",
582
680
  "value": "tan( <calc-sum> )",
681
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-tan",
583
682
  "type": "function"
584
683
  },
585
684
  {
586
685
  "name": "asin()",
587
686
  "value": "asin( <calc-sum> )",
687
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-asin",
588
688
  "type": "function"
589
689
  },
590
690
  {
591
691
  "name": "acos()",
592
692
  "value": "acos( <calc-sum> )",
693
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-acos",
593
694
  "type": "function"
594
695
  },
595
696
  {
596
697
  "name": "atan()",
597
698
  "value": "atan( <calc-sum> )",
699
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-atan",
598
700
  "type": "function"
599
701
  },
600
702
  {
601
703
  "name": "atan2()",
602
704
  "value": "atan2( <calc-sum>, <calc-sum> )",
705
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-atan2",
603
706
  "type": "function"
604
707
  },
605
708
  {
606
709
  "name": "pow()",
607
710
  "value": "pow( <calc-sum>, <calc-sum> )",
711
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-pow",
608
712
  "type": "function"
609
713
  },
610
714
  {
611
715
  "name": "sqrt()",
612
716
  "value": "sqrt( <calc-sum> )",
717
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-sqrt",
613
718
  "type": "function"
614
719
  },
615
720
  {
616
721
  "name": "hypot()",
617
722
  "value": "hypot( <calc-sum># )",
723
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-hypot",
618
724
  "type": "function"
619
725
  },
620
726
  {
621
727
  "name": "log()",
622
728
  "value": "log( <calc-sum>, <calc-sum>? )",
729
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-log",
623
730
  "type": "function"
624
731
  },
625
732
  {
626
733
  "name": "exp()",
627
734
  "value": "exp( <calc-sum> )",
735
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-exp",
628
736
  "type": "function"
629
737
  },
630
738
  {
631
739
  "name": "abs()",
632
740
  "value": "abs( <calc-sum> )",
741
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-abs",
633
742
  "type": "function"
634
743
  },
635
744
  {
636
745
  "name": "sign()",
637
746
  "value": "sign( <calc-sum> )",
747
+ "href": "https://drafts.csswg.org/css-values-4/#funcdef-sign",
638
748
  "type": "function"
639
749
  },
640
750
  {
641
751
  "name": "<calc-sum>",
752
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-sum",
642
753
  "type": "type",
643
754
  "value": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
644
755
  },
645
756
  {
646
757
  "name": "<calc-product>",
758
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-product",
647
759
  "type": "type",
648
760
  "value": "<calc-value> [ [ '*' | '/' ] <calc-value> ]*"
649
761
  },
650
762
  {
651
763
  "name": "<calc-value>",
764
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-value",
652
765
  "type": "type",
653
766
  "value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )"
654
767
  },
655
768
  {
656
769
  "name": "<calc-keyword>",
770
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-keyword",
657
771
  "type": "type",
658
772
  "value": "e | pi | infinity | -infinity | NaN"
659
773
  },
660
774
  {
661
775
  "name": "<quirky-length>",
662
776
  "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
777
+ "href": "https://drafts.csswg.org/css-values-4/#typedef-quirky-length",
663
778
  "type": "type"
664
779
  }
665
780
  ]