blob: 0d14e555079aedf58df35fffcb4dea2ca80efaf0 [file] [log] [blame]
Leo Repp58b9f112021-11-22 11:57:47 +01001{
2 "@charset": {
3 "syntax": "@charset \"<charset>\";",
4 "groups": [
5 "CSS Charsets"
6 ],
7 "status": "standard",
8 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@charset"
9 },
10 "@counter-style": {
11 "syntax": "@counter-style <counter-style-name> {\n [ system: <counter-system>; ] ||\n [ symbols: <counter-symbols>; ] ||\n [ additive-symbols: <additive-symbols>; ] ||\n [ negative: <negative-symbol>; ] ||\n [ prefix: <prefix>; ] ||\n [ suffix: <suffix>; ] ||\n [ range: <range>; ] ||\n [ pad: <padding>; ] ||\n [ speak-as: <speak-as>; ] ||\n [ fallback: <counter-style-name>; ]\n}",
12 "interfaces": [
13 "CSSCounterStyleRule"
14 ],
15 "groups": [
16 "CSS Counter Styles"
17 ],
18 "descriptors": {
19 "additive-symbols": {
20 "syntax": "[ <integer> && <symbol> ]#",
21 "media": "all",
22 "initial": "N/A",
23 "percentages": "no",
24 "computed": "asSpecified",
25 "order": "orderOfAppearance",
26 "status": "standard"
27 },
28 "fallback": {
29 "syntax": "<counter-style-name>",
30 "media": "all",
31 "initial": "decimal",
32 "percentages": "no",
33 "computed": "asSpecified",
34 "order": "uniqueOrder",
35 "status": "standard"
36 },
37 "negative": {
38 "syntax": "<symbol> <symbol>?",
39 "media": "all",
40 "initial": "\"-\" hyphen-minus",
41 "percentages": "no",
42 "computed": "asSpecified",
43 "order": "orderOfAppearance",
44 "status": "standard"
45 },
46 "pad": {
47 "syntax": "<integer> && <symbol>",
48 "media": "all",
49 "initial": "0 \"\"",
50 "percentages": "no",
51 "computed": "asSpecified",
52 "order": "uniqueOrder",
53 "status": "standard"
54 },
55 "prefix": {
56 "syntax": "<symbol>",
57 "media": "all",
58 "initial": "\"\"",
59 "percentages": "no",
60 "computed": "asSpecified",
61 "order": "uniqueOrder",
62 "status": "standard"
63 },
64 "range": {
65 "syntax": "[ [ <integer> | infinite ]{2} ]# | auto",
66 "media": "all",
67 "initial": "auto",
68 "percentages": "no",
69 "computed": "asSpecified",
70 "order": "orderOfAppearance",
71 "status": "standard"
72 },
73 "speak-as": {
74 "syntax": "auto | bullets | numbers | words | spell-out | <counter-style-name>",
75 "media": "all",
76 "initial": "auto",
77 "percentages": "no",
78 "computed": "asSpecified",
79 "order": "uniqueOrder",
80 "status": "standard"
81 },
82 "suffix": {
83 "syntax": "<symbol>",
84 "media": "all",
85 "initial": "\". \"",
86 "percentages": "no",
87 "computed": "asSpecified",
88 "order": "uniqueOrder",
89 "status": "standard"
90 },
91 "symbols": {
92 "syntax": "<symbol>+",
93 "media": "all",
94 "initial": "N/A",
95 "percentages": "no",
96 "computed": "asSpecified",
97 "order": "orderOfAppearance",
98 "status": "standard"
99 },
100 "system": {
101 "syntax": "cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",
102 "media": "all",
103 "initial": "symbolic",
104 "percentages": "no",
105 "computed": "asSpecified",
106 "order": "uniqueOrder",
107 "status": "standard"
108 }
109 },
110 "status": "standard",
111 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@counter-style"
112 },
113 "@document": {
114 "syntax": "@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\n <group-rule-body>\n}",
115 "interfaces": [
116 "CSSGroupingRule",
117 "CSSConditionRule"
118 ],
119 "groups": [
120 "CSS Conditional Rules"
121 ],
122 "status": "nonstandard",
123 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@document"
124 },
125 "@font-face": {
126 "syntax": "@font-face {\n [ font-family: <family-name>; ] ||\n [ src: <src>; ] ||\n [ unicode-range: <unicode-range>; ] ||\n [ font-variant: <font-variant>; ] ||\n [ font-feature-settings: <font-feature-settings>; ] ||\n [ font-variation-settings: <font-variation-settings>; ] ||\n [ font-stretch: <font-stretch>; ] ||\n [ font-weight: <font-weight>; ] ||\n [ font-style: <font-style>; ]\n}",
127 "interfaces": [
128 "CSSFontFaceRule"
129 ],
130 "groups": [
131 "CSS Fonts"
132 ],
133 "descriptors": {
134 "font-display": {
135 "syntax": "[ auto | block | swap | fallback | optional ]",
136 "media": "visual",
137 "percentages": "no",
138 "initial": "auto",
139 "computed": "asSpecified",
140 "order": "uniqueOrder",
141 "status": "experimental"
142 },
143 "font-family": {
144 "syntax": "<family-name>",
145 "media": "all",
146 "initial": "n/a (required)",
147 "percentages": "no",
148 "computed": "asSpecified",
149 "order": "uniqueOrder",
150 "status": "standard"
151 },
152 "font-feature-settings": {
153 "syntax": "normal | <feature-tag-value>#",
154 "media": "all",
155 "initial": "normal",
156 "percentages": "no",
157 "computed": "asSpecified",
158 "order": "orderOfAppearance",
159 "status": "standard"
160 },
161 "font-variation-settings": {
162 "syntax": "normal | [ <string> <number> ]#",
163 "media": "all",
164 "initial": "normal",
165 "percentages": "no",
166 "computed": "asSpecified",
167 "order": "orderOfAppearance",
168 "status": "standard"
169 },
170 "font-stretch": {
171 "syntax": "<font-stretch-absolute>{1,2}",
172 "media": "all",
173 "initial": "normal",
174 "percentages": "no",
175 "computed": "asSpecified",
176 "order": "uniqueOrder",
177 "status": "standard"
178 },
179 "font-style": {
180 "syntax": "normal | italic | oblique <angle>{0,2}",
181 "media": "all",
182 "initial": "normal",
183 "percentages": "no",
184 "computed": "asSpecified",
185 "order": "uniqueOrder",
186 "status": "standard"
187 },
188 "font-weight": {
189 "syntax": "<font-weight-absolute>{1,2}",
190 "media": "all",
191 "initial": "normal",
192 "percentages": "no",
193 "computed": "asSpecified",
194 "order": "uniqueOrder",
195 "status": "standard"
196 },
197 "font-variant": {
198 "syntax": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",
199 "media": "all",
200 "initial": "normal",
201 "percentages": "no",
202 "computed": "asSpecified",
203 "order": "orderOfAppearance",
204 "status": "standard"
205 },
206 "src": {
207 "syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",
208 "media": "all",
209 "initial": "n/a (required)",
210 "percentages": "no",
211 "computed": "asSpecified",
212 "order": "orderOfAppearance",
213 "status": "standard"
214 },
215 "unicode-range": {
216 "syntax": "<unicode-range>#",
217 "media": "all",
218 "initial": "U+0-10FFFF",
219 "percentages": "no",
220 "computed": "asSpecified",
221 "order": "orderOfAppearance",
222 "status": "standard"
223 }
224 },
225 "status": "standard",
226 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face"
227 },
228 "@font-feature-values": {
229 "syntax": "@font-feature-values <family-name># {\n <feature-value-block-list>\n}",
230 "interfaces": [
231 "CSSFontFeatureValuesRule"
232 ],
233 "groups": [
234 "CSS Fonts"
235 ],
236 "status": "standard",
237 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
238 },
239 "@import": {
240 "syntax": "@import [ <string> | <url> ] [ <media-query-list> ]?;",
241 "groups": [
242 "Media Queries"
243 ],
244 "status": "standard",
245 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@import"
246 },
247 "@keyframes": {
248 "syntax": "@keyframes <keyframes-name> {\n <keyframe-block-list>\n}",
249 "interfaces": [
250 "CSSKeyframeRule",
251 "CSSKeyframesRule"
252 ],
253 "groups": [
254 "CSS Animations"
255 ],
256 "status": "standard",
257 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@keyframes"
258 },
259 "@media": {
260 "syntax": "@media <media-query-list> {\n <group-rule-body>\n}",
261 "interfaces": [
262 "CSSGroupingRule",
263 "CSSConditionRule",
264 "CSSMediaRule",
265 "CSSCustomMediaRule"
266 ],
267 "groups": [
268 "CSS Conditional Rules",
269 "Media Queries"
270 ],
271 "status": "standard",
272 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@media"
273 },
274 "@namespace": {
275 "syntax": "@namespace <namespace-prefix>? [ <string> | <url> ];",
276 "groups": [
277 "CSS Namespaces"
278 ],
279 "status": "standard",
280 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@namespace"
281 },
282 "@page": {
283 "syntax": "@page <page-selector-list> {\n <page-body>\n}",
284 "interfaces": [
285 "CSSPageRule"
286 ],
287 "groups": [
288 "CSS Pages"
289 ],
290 "descriptors": {
291 "bleed": {
292 "syntax": "auto | <length>",
293 "media": [
294 "visual",
295 "paged"
296 ],
297 "initial": "auto",
298 "percentages": "no",
299 "computed": "asSpecified",
300 "order": "uniqueOrder",
301 "status": "experimental"
302 },
303 "marks": {
304 "syntax": "none | [ crop || cross ]",
305 "media": [
306 "visual",
307 "paged"
308 ],
309 "initial": "none",
310 "percentages": "no",
311 "computed": "asSpecified",
312 "order": "orderOfAppearance",
313 "status": "experimental"
314 }
315 },
316 "status": "standard",
317 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page"
318 },
319 "@supports": {
320 "syntax": "@supports <supports-condition> {\n <group-rule-body>\n}",
321 "interfaces": [
322 "CSSGroupingRule",
323 "CSSConditionRule",
324 "CSSSupportsRule"
325 ],
326 "groups": [
327 "CSS Conditional Rules"
328 ],
329 "status": "standard",
330 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@supports"
331 },
332 "@viewport": {
333 "syntax": "@viewport {\n <group-rule-body>\n}",
334 "interfaces": [
335 "CSSViewportRule"
336 ],
337 "groups": [
338 "CSS Device Adaptation"
339 ],
340 "descriptors": {
341 "height": {
342 "syntax": "<viewport-length>{1,2}",
343 "media": [
344 "visual",
345 "continuous"
346 ],
347 "initial": [
348 "min-height",
349 "max-height"
350 ],
351 "percentages": [
352 "min-height",
353 "max-height"
354 ],
355 "computed": [
356 "min-height",
357 "max-height"
358 ],
359 "order": "orderOfAppearance",
360 "status": "standard"
361 },
362 "max-height": {
363 "syntax": "<viewport-length>",
364 "media": [
365 "visual",
366 "continuous"
367 ],
368 "initial": "auto",
369 "percentages": "referToHeightOfInitialViewport",
370 "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
371 "order": "uniqueOrder",
372 "status": "standard"
373 },
374 "max-width": {
375 "syntax": "<viewport-length>",
376 "media": [
377 "visual",
378 "continuous"
379 ],
380 "initial": "auto",
381 "percentages": "referToWidthOfInitialViewport",
382 "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
383 "order": "uniqueOrder",
384 "status": "standard"
385 },
386 "max-zoom": {
387 "syntax": "auto | <number> | <percentage>",
388 "media": [
389 "visual",
390 "continuous"
391 ],
392 "initial": "auto",
393 "percentages": "the zoom factor itself",
394 "computed": "autoNonNegativeOrPercentage",
395 "order": "uniqueOrder",
396 "status": "standard"
397 },
398 "min-height": {
399 "syntax": "<viewport-length>",
400 "media": [
401 "visual",
402 "continuous"
403 ],
404 "initial": "auto",
405 "percentages": "referToHeightOfInitialViewport",
406 "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
407 "order": "uniqueOrder",
408 "status": "standard"
409 },
410 "min-width": {
411 "syntax": "<viewport-length>",
412 "media": [
413 "visual",
414 "continuous"
415 ],
416 "initial": "auto",
417 "percentages": "referToWidthOfInitialViewport",
418 "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
419 "order": "uniqueOrder",
420 "status": "standard"
421 },
422 "min-zoom": {
423 "syntax": "auto | <number> | <percentage>",
424 "media": [
425 "visual",
426 "continuous"
427 ],
428 "initial": "auto",
429 "percentages": "the zoom factor itself",
430 "computed": "autoNonNegativeOrPercentage",
431 "order": "uniqueOrder",
432 "status": "standard"
433 },
434 "orientation": {
435 "syntax": "auto | portrait | landscape",
436 "media": [
437 "visual",
438 "continuous"
439 ],
440 "initial": "auto",
441 "percentages": "referToSizeOfBoundingBox",
442 "computed": "asSpecified",
443 "order": "uniqueOrder",
444 "status": "standard"
445 },
446 "user-zoom": {
447 "syntax": "zoom | fixed",
448 "media": [
449 "visual",
450 "continuous"
451 ],
452 "initial": "zoom",
453 "percentages": "referToSizeOfBoundingBox",
454 "computed": "asSpecified",
455 "order": "uniqueOrder",
456 "status": "standard"
457 },
458 "width": {
459 "syntax": "<viewport-length>{1,2}",
460 "media": [
461 "visual",
462 "continuous"
463 ],
464 "initial": [
465 "min-width",
466 "max-width"
467 ],
468 "percentages": [
469 "min-width",
470 "max-width"
471 ],
472 "computed": [
473 "min-width",
474 "max-width"
475 ],
476 "order": "orderOfAppearance",
477 "status": "standard"
478 },
479 "zoom": {
480 "syntax": "auto | <number> | <percentage>",
481 "media": [
482 "visual",
483 "continuous"
484 ],
485 "initial": "auto",
486 "percentages": "the zoom factor itself",
487 "computed": "autoNonNegativeOrPercentage",
488 "order": "uniqueOrder",
489 "status": "standard"
490 }
491 },
492 "status": "standard",
493 "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@viewport"
494 }
495}