@webref/css 6.22.0 → 7.0.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -559
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1636
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -263
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -55
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -52
  57. package/css-multicol.json +0 -252
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -16
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -223
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -48
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -85
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -36
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -69
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -273
  83. package/css-shapes.json +0 -200
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -651
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -151
  103. package/css-view-transitions.json +0 -76
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/scroll-animations.json +0 -519
  116. package/selectors-5.json +0 -21
  117. package/selectors.json +0 -546
  118. package/svg-strokes.json +0 -59
  119. package/upgrade-insecure-requests.json +0 -28
  120. package/webvtt.json +0 -31
  121. package/webxr-dom-overlays.json +0 -16
package/css-values.json DELETED
@@ -1,790 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Values and Units Module Level 4",
4
- "url": "https://drafts.csswg.org/css-values-4/"
5
- },
6
- "properties": [],
7
- "atrules": [],
8
- "selectors": [],
9
- "values": [
10
- {
11
- "name": "<ident>",
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",
14
- "type": "type"
15
- },
16
- {
17
- "name": "<custom-ident>",
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",
20
- "type": "type"
21
- },
22
- {
23
- "name": "<dashed-ident>",
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",
26
- "type": "type"
27
- },
28
- {
29
- "name": "<string>",
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",
32
- "type": "type"
33
- },
34
- {
35
- "name": "url()",
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",
38
- "type": "function",
39
- "value": "url( <string> <url-modifier>* ) | <url-token>"
40
- },
41
- {
42
- "name": "src()",
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",
45
- "type": "function",
46
- "value": "src( <string> <url-modifier>* )"
47
- },
48
- {
49
- "name": "<url>",
50
- "href": "https://drafts.csswg.org/css-values-4/#url-value",
51
- "type": "type",
52
- "value": "<url()> | <src()>"
53
- },
54
- {
55
- "name": "<url-modifier>",
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",
58
- "type": "type"
59
- },
60
- {
61
- "name": "<integer>",
62
- "prose": "Integer values are denoted by <integer>.",
63
- "href": "https://drafts.csswg.org/css-values-4/#integer-value",
64
- "type": "type"
65
- },
66
- {
67
- "name": "<number>",
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",
70
- "type": "type"
71
- },
72
- {
73
- "name": "<zero>",
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",
76
- "type": "type"
77
- },
78
- {
79
- "name": "<dimension>",
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",
82
- "type": "type"
83
- },
84
- {
85
- "name": "<percentage>",
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",
88
- "type": "type"
89
- },
90
- {
91
- "name": "<length-percentage>",
92
- "value": "[ <length> | <percentage> ]",
93
- "href": "https://drafts.csswg.org/css-values-4/#typedef-length-percentage",
94
- "type": "type"
95
- },
96
- {
97
- "name": "<frequency-percentage>",
98
- "value": "[ <frequency> | <percentage> ]",
99
- "href": "https://drafts.csswg.org/css-values-4/#typedef-frequency-percentage",
100
- "type": "type"
101
- },
102
- {
103
- "name": "<angle-percentage>",
104
- "value": "[ <angle> | <percentage> ]",
105
- "href": "https://drafts.csswg.org/css-values-4/#typedef-angle-percentage",
106
- "type": "type"
107
- },
108
- {
109
- "name": "<time-percentage>",
110
- "value": "[ <time> | <percentage> ]",
111
- "href": "https://drafts.csswg.org/css-values-4/#typedef-time-percentage",
112
- "type": "type"
113
- },
114
- {
115
- "name": "<ratio>",
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",
118
- "type": "type",
119
- "value": "<number [0,∞]> [ / <number [0,∞]> ]?"
120
- },
121
- {
122
- "name": "<length>",
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",
125
- "type": "type",
126
- "values": [
127
- {
128
- "name": "em",
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",
131
- "type": "value",
132
- "value": "em"
133
- },
134
- {
135
- "name": "rem",
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",
138
- "type": "value",
139
- "value": "rem"
140
- },
141
- {
142
- "name": "ex",
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",
145
- "type": "value",
146
- "value": "ex"
147
- },
148
- {
149
- "name": "rex",
150
- "prose": "Equal to the value of the ex unit on the root element.",
151
- "href": "https://drafts.csswg.org/css-values-4/#rex",
152
- "type": "value",
153
- "value": "rex"
154
- },
155
- {
156
- "name": "cap",
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",
159
- "type": "value",
160
- "value": "cap"
161
- },
162
- {
163
- "name": "rcap",
164
- "prose": "Equal to the value of the cap unit on the root element.",
165
- "href": "https://drafts.csswg.org/css-values-4/#rcap",
166
- "type": "value",
167
- "value": "rcap"
168
- },
169
- {
170
- "name": "ch",
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",
173
- "type": "value",
174
- "value": "ch"
175
- },
176
- {
177
- "name": "rch",
178
- "prose": "Equal to the value of the ch unit on the root element.",
179
- "href": "https://drafts.csswg.org/css-values-4/#rch",
180
- "type": "value",
181
- "value": "rch"
182
- },
183
- {
184
- "name": "ic",
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",
187
- "type": "value",
188
- "value": "ic"
189
- },
190
- {
191
- "name": "ric",
192
- "prose": "Equal to the value of the ic unit on the root element.",
193
- "href": "https://drafts.csswg.org/css-values-4/#ric",
194
- "type": "value",
195
- "value": "ric"
196
- },
197
- {
198
- "name": "lh",
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",
201
- "type": "value",
202
- "value": "lh"
203
- },
204
- {
205
- "name": "rlh",
206
- "prose": "Equal to the value of the lh unit on the root element.",
207
- "href": "https://drafts.csswg.org/css-values-4/#rlh",
208
- "type": "value",
209
- "value": "rlh"
210
- },
211
- {
212
- "name": "vw",
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",
215
- "type": "value",
216
- "value": "vw"
217
- },
218
- {
219
- "name": "svw",
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",
222
- "type": "value",
223
- "value": "svw"
224
- },
225
- {
226
- "name": "lvw",
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",
229
- "type": "value",
230
- "value": "lvw"
231
- },
232
- {
233
- "name": "dvw",
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",
236
- "type": "value",
237
- "value": "dvw"
238
- },
239
- {
240
- "name": "vh",
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",
243
- "type": "value",
244
- "value": "vh"
245
- },
246
- {
247
- "name": "svh",
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",
250
- "type": "value",
251
- "value": "svh"
252
- },
253
- {
254
- "name": "lvh",
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",
257
- "type": "value",
258
- "value": "lvh"
259
- },
260
- {
261
- "name": "dvh",
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",
264
- "type": "value",
265
- "value": "dvh"
266
- },
267
- {
268
- "name": "vi",
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",
271
- "type": "value",
272
- "value": "vi"
273
- },
274
- {
275
- "name": "svi",
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",
278
- "type": "value",
279
- "value": "svi"
280
- },
281
- {
282
- "name": "lvi",
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",
285
- "type": "value",
286
- "value": "lvi"
287
- },
288
- {
289
- "name": "dvi",
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",
292
- "type": "value",
293
- "value": "dvi"
294
- },
295
- {
296
- "name": "vb",
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",
299
- "type": "value",
300
- "value": "vb"
301
- },
302
- {
303
- "name": "svb",
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",
306
- "type": "value",
307
- "value": "svb"
308
- },
309
- {
310
- "name": "lvb",
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",
313
- "type": "value",
314
- "value": "lvb"
315
- },
316
- {
317
- "name": "dvb",
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",
320
- "type": "value",
321
- "value": "dvb"
322
- },
323
- {
324
- "name": "vmin",
325
- "prose": "Equal to the smaller of *vw or *vh.",
326
- "href": "https://drafts.csswg.org/css-values-4/#vmin",
327
- "type": "value",
328
- "value": "vmin"
329
- },
330
- {
331
- "name": "svmin",
332
- "prose": "Equal to the smaller of *vw or *vh.",
333
- "href": "https://drafts.csswg.org/css-values-4/#svmin",
334
- "type": "value",
335
- "value": "svmin"
336
- },
337
- {
338
- "name": "lvmin",
339
- "prose": "Equal to the smaller of *vw or *vh.",
340
- "href": "https://drafts.csswg.org/css-values-4/#lvmin",
341
- "type": "value",
342
- "value": "lvmin"
343
- },
344
- {
345
- "name": "dvmin",
346
- "prose": "Equal to the smaller of *vw or *vh.",
347
- "href": "https://drafts.csswg.org/css-values-4/#dvmin",
348
- "type": "value",
349
- "value": "dvmin"
350
- },
351
- {
352
- "name": "vmax",
353
- "prose": "Equal to the larger of *vw or *vh.",
354
- "href": "https://drafts.csswg.org/css-values-4/#vmax",
355
- "type": "value",
356
- "value": "vmax"
357
- },
358
- {
359
- "name": "svmax",
360
- "prose": "Equal to the larger of *vw or *vh.",
361
- "href": "https://drafts.csswg.org/css-values-4/#svmax",
362
- "type": "value",
363
- "value": "svmax"
364
- },
365
- {
366
- "name": "lvmax",
367
- "prose": "Equal to the larger of *vw or *vh.",
368
- "href": "https://drafts.csswg.org/css-values-4/#lvmax",
369
- "type": "value",
370
- "value": "lvmax"
371
- },
372
- {
373
- "name": "dvmax",
374
- "prose": "Equal to the larger of *vw or *vh.",
375
- "href": "https://drafts.csswg.org/css-values-4/#dvmax",
376
- "type": "value",
377
- "value": "dvmax"
378
- },
379
- {
380
- "name": "cm",
381
- "href": "https://drafts.csswg.org/css-values-4/#cm",
382
- "type": "value",
383
- "value": "cm"
384
- },
385
- {
386
- "name": "mm",
387
- "href": "https://drafts.csswg.org/css-values-4/#mm",
388
- "type": "value",
389
- "value": "mm"
390
- },
391
- {
392
- "name": "Q",
393
- "href": "https://drafts.csswg.org/css-values-4/#Q",
394
- "type": "value",
395
- "value": "Q"
396
- },
397
- {
398
- "name": "in",
399
- "href": "https://drafts.csswg.org/css-values-4/#in",
400
- "type": "value",
401
- "value": "in"
402
- },
403
- {
404
- "name": "pc",
405
- "href": "https://drafts.csswg.org/css-values-4/#pc",
406
- "type": "value",
407
- "value": "pc"
408
- },
409
- {
410
- "name": "pt",
411
- "href": "https://drafts.csswg.org/css-values-4/#pt",
412
- "type": "value",
413
- "value": "pt"
414
- },
415
- {
416
- "name": "px",
417
- "href": "https://drafts.csswg.org/css-values-4/#px",
418
- "type": "value",
419
- "value": "px"
420
- }
421
- ]
422
- },
423
- {
424
- "name": "<angle>",
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",
427
- "type": "type",
428
- "values": [
429
- {
430
- "name": "deg",
431
- "prose": "Degrees. There are 360 degrees in a full circle.",
432
- "href": "https://drafts.csswg.org/css-values-4/#deg",
433
- "type": "value",
434
- "value": "deg"
435
- },
436
- {
437
- "name": "grad",
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",
440
- "type": "value",
441
- "value": "grad"
442
- },
443
- {
444
- "name": "rad",
445
- "prose": "Radians. There are 2π radians in a full circle.",
446
- "href": "https://drafts.csswg.org/css-values-4/#rad",
447
- "type": "value",
448
- "value": "rad"
449
- },
450
- {
451
- "name": "turn",
452
- "prose": "Turns. There is 1 turn in a full circle.",
453
- "href": "https://drafts.csswg.org/css-values-4/#turn",
454
- "type": "value",
455
- "value": "turn"
456
- }
457
- ]
458
- },
459
- {
460
- "name": "<time>",
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",
463
- "type": "type",
464
- "values": [
465
- {
466
- "name": "s",
467
- "prose": "Seconds.",
468
- "href": "https://drafts.csswg.org/css-values-4/#s",
469
- "type": "value",
470
- "value": "s"
471
- },
472
- {
473
- "name": "ms",
474
- "prose": "Milliseconds. There are 1000 milliseconds in a second.",
475
- "href": "https://drafts.csswg.org/css-values-4/#ms",
476
- "type": "value",
477
- "value": "ms"
478
- }
479
- ]
480
- },
481
- {
482
- "name": "<frequency>",
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",
485
- "type": "type",
486
- "values": [
487
- {
488
- "name": "Hz",
489
- "prose": "Hertz. It represents the number of occurrences per second.",
490
- "href": "https://drafts.csswg.org/css-values-4/#Hz",
491
- "type": "value",
492
- "value": "Hz"
493
- },
494
- {
495
- "name": "kHz",
496
- "prose": "KiloHertz. A kiloHertz is 1000 Hertz.",
497
- "href": "https://drafts.csswg.org/css-values-4/#kHz",
498
- "type": "value",
499
- "value": "kHz"
500
- }
501
- ]
502
- },
503
- {
504
- "name": "<resolution>",
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",
507
- "type": "type",
508
- "values": [
509
- {
510
- "name": "dpi",
511
- "prose": "Dots per inch.",
512
- "href": "https://drafts.csswg.org/css-values-4/#dpi",
513
- "type": "value",
514
- "value": "dpi"
515
- },
516
- {
517
- "name": "dpcm",
518
- "prose": "Dots per centimeter.",
519
- "href": "https://drafts.csswg.org/css-values-4/#dpcm",
520
- "type": "value",
521
- "value": "dpcm"
522
- },
523
- {
524
- "name": "dppx",
525
- "prose": "Dots per px unit.",
526
- "href": "https://drafts.csswg.org/css-values-4/#dppx",
527
- "type": "value",
528
- "value": "dppx"
529
- },
530
- {
531
- "name": "x",
532
- "prose": "Dots per px unit.",
533
- "href": "https://drafts.csswg.org/css-values-4/#x",
534
- "type": "value",
535
- "value": "x"
536
- }
537
- ]
538
- },
539
- {
540
- "name": "<position>",
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 computed and interpreted as specified for background-position. [CSS3-BACKGROUND]",
542
- "href": "https://drafts.csswg.org/css-values-4/#typedef-position",
543
- "type": "type",
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> ] ]"
545
- },
546
- {
547
- "name": "calc()",
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",
550
- "type": "function",
551
- "value": "calc( <calc-sum> )",
552
- "values": [
553
- {
554
- "name": "e",
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",
557
- "type": "value",
558
- "value": "e"
559
- },
560
- {
561
- "name": "pi",
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",
564
- "type": "value",
565
- "value": "pi"
566
- },
567
- {
568
- "name": "infinity",
569
- "prose": "the value positive infinity (+∞)",
570
- "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-infinity",
571
- "type": "value",
572
- "value": "infinity"
573
- },
574
- {
575
- "name": "-infinity",
576
- "prose": "the value negative infinity (−∞)",
577
- "href": "https://drafts.csswg.org/css-values-4/#valdef-calc--infinity",
578
- "type": "value",
579
- "value": "-infinity"
580
- },
581
- {
582
- "name": "NaN",
583
- "prose": "the value NaN",
584
- "href": "https://drafts.csswg.org/css-values-4/#valdef-calc-nan",
585
- "type": "value",
586
- "value": "NaN"
587
- }
588
- ]
589
- },
590
- {
591
- "name": "min()",
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",
594
- "type": "function",
595
- "value": "min( <calc-sum># )"
596
- },
597
- {
598
- "name": "max()",
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",
601
- "type": "function",
602
- "value": "max( <calc-sum># )"
603
- },
604
- {
605
- "name": "clamp()",
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",
608
- "type": "function",
609
- "value": "clamp( [ <calc-sum> | none ], <calc-sum>, [ <calc-sum> | none ] )",
610
- "values": [
611
- {
612
- "name": "none",
613
- "prose": "Either the min or max calculations (or even both) can instead be the keyword none, which indicates the value is not clamped from that side. (That is, clamp(MIN, VAL, none) is equivalent to max(MIN, VAL), clamp(none, VAL, MAX) is equivalent to min(VAL, MAX), and clamp(none, VAL, none) is equivalent to just calc(VAL).)",
614
- "href": "https://drafts.csswg.org/css-values-4/#valdef-clamp-none",
615
- "type": "value",
616
- "value": "none"
617
- }
618
- ]
619
- },
620
- {
621
- "name": "round()",
622
- "value": "round( <rounding-strategy>?, <calc-sum>, <calc-sum>? )",
623
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-round",
624
- "type": "function"
625
- },
626
- {
627
- "name": "<rounding-strategy>",
628
- "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:",
629
- "href": "https://drafts.csswg.org/css-values-4/#typedef-rounding-strategy",
630
- "type": "type",
631
- "value": "nearest | up | down | to-zero",
632
- "values": [
633
- {
634
- "name": "nearest",
635
- "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.",
636
- "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-nearest",
637
- "type": "value",
638
- "value": "nearest"
639
- },
640
- {
641
- "name": "up",
642
- "prose": "Choose upper B.",
643
- "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-up",
644
- "type": "value",
645
- "value": "up"
646
- },
647
- {
648
- "name": "down",
649
- "prose": "Choose lower B.",
650
- "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-down",
651
- "type": "value",
652
- "value": "down"
653
- },
654
- {
655
- "name": "to-zero",
656
- "prose": "Choose whichever of lower B and upper B that has the smallest absolute difference from 0.",
657
- "href": "https://drafts.csswg.org/css-values-4/#valdef-rounding-strategy-to-zero",
658
- "type": "value",
659
- "value": "to-zero"
660
- }
661
- ]
662
- },
663
- {
664
- "name": "mod()",
665
- "value": "mod( <calc-sum>, <calc-sum> )",
666
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-mod",
667
- "type": "function"
668
- },
669
- {
670
- "name": "rem()",
671
- "value": "rem( <calc-sum>, <calc-sum> )",
672
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-rem",
673
- "type": "function"
674
- },
675
- {
676
- "name": "sin()",
677
- "value": "sin( <calc-sum> )",
678
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-sin",
679
- "type": "function"
680
- },
681
- {
682
- "name": "cos()",
683
- "value": "cos( <calc-sum> )",
684
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-cos",
685
- "type": "function"
686
- },
687
- {
688
- "name": "tan()",
689
- "value": "tan( <calc-sum> )",
690
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-tan",
691
- "type": "function"
692
- },
693
- {
694
- "name": "asin()",
695
- "value": "asin( <calc-sum> )",
696
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-asin",
697
- "type": "function"
698
- },
699
- {
700
- "name": "acos()",
701
- "value": "acos( <calc-sum> )",
702
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-acos",
703
- "type": "function"
704
- },
705
- {
706
- "name": "atan()",
707
- "value": "atan( <calc-sum> )",
708
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-atan",
709
- "type": "function"
710
- },
711
- {
712
- "name": "atan2()",
713
- "value": "atan2( <calc-sum>, <calc-sum> )",
714
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-atan2",
715
- "type": "function"
716
- },
717
- {
718
- "name": "pow()",
719
- "value": "pow( <calc-sum>, <calc-sum> )",
720
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-pow",
721
- "type": "function"
722
- },
723
- {
724
- "name": "sqrt()",
725
- "value": "sqrt( <calc-sum> )",
726
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-sqrt",
727
- "type": "function"
728
- },
729
- {
730
- "name": "hypot()",
731
- "value": "hypot( <calc-sum># )",
732
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-hypot",
733
- "type": "function"
734
- },
735
- {
736
- "name": "log()",
737
- "value": "log( <calc-sum>, <calc-sum>? )",
738
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-log",
739
- "type": "function"
740
- },
741
- {
742
- "name": "exp()",
743
- "value": "exp( <calc-sum> )",
744
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-exp",
745
- "type": "function"
746
- },
747
- {
748
- "name": "abs()",
749
- "value": "abs( <calc-sum> )",
750
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-abs",
751
- "type": "function"
752
- },
753
- {
754
- "name": "sign()",
755
- "value": "sign( <calc-sum> )",
756
- "href": "https://drafts.csswg.org/css-values-4/#funcdef-sign",
757
- "type": "function"
758
- },
759
- {
760
- "name": "<calc-sum>",
761
- "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-sum",
762
- "type": "type",
763
- "value": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*"
764
- },
765
- {
766
- "name": "<calc-product>",
767
- "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-product",
768
- "type": "type",
769
- "value": "<calc-value> [ [ '*' | / ] <calc-value> ]*"
770
- },
771
- {
772
- "name": "<calc-value>",
773
- "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-value",
774
- "type": "type",
775
- "value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )"
776
- },
777
- {
778
- "name": "<calc-keyword>",
779
- "href": "https://drafts.csswg.org/css-values-4/#typedef-calc-keyword",
780
- "type": "type",
781
- "value": "e | pi | infinity | -infinity | NaN"
782
- },
783
- {
784
- "name": "<quirky-length>",
785
- "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
786
- "href": "https://drafts.csswg.org/css-values-4/#typedef-quirky-length",
787
- "type": "type"
788
- }
789
- ]
790
- }