mdn-data 1.1.0 → 1.1.4
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.
- package/css/at-rules.json +57 -18
- package/css/at-rules.schema.json +24 -1
- package/css/definitions.json +3 -0
- package/css/properties.json +1194 -127
- package/css/properties.schema.json +42 -3
- package/css/selectors.json +129 -0
- package/css/syntaxes.json +69 -6
- package/css/units.json +3 -3
- package/l10n/css.json +1246 -1195
- package/package.json +3 -2
package/css/at-rules.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"prefix": {
|
|
55
55
|
"syntax": "<symbol>",
|
|
56
56
|
"media": "all",
|
|
57
|
-
"initial": "
|
|
57
|
+
"initial": "\"\"",
|
|
58
58
|
"percentages": "no",
|
|
59
59
|
"computed": "asSpecified",
|
|
60
60
|
"order": "uniqueOrder",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"suffix": {
|
|
82
82
|
"syntax": "<symbol>",
|
|
83
83
|
"media": "all",
|
|
84
|
-
"initial": "\"
|
|
84
|
+
"initial": "\". \"",
|
|
85
85
|
"percentages": "no",
|
|
86
86
|
"computed": "asSpecified",
|
|
87
87
|
"order": "uniqueOrder",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"status": "nonstandard"
|
|
121
121
|
},
|
|
122
122
|
"@font-face": {
|
|
123
|
-
"syntax": "@font-face {\n [ font-family: <family-name>; ] ||\n [ src:
|
|
123
|
+
"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}",
|
|
124
124
|
"interfaces": [
|
|
125
125
|
"CSSFontFaceRule"
|
|
126
126
|
],
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"status": "standard"
|
|
157
157
|
},
|
|
158
158
|
"font-variation-settings": {
|
|
159
|
-
"syntax": "normal | [ <string> <number>]
|
|
159
|
+
"syntax": "normal | [ <string> <number> ]#",
|
|
160
160
|
"media": "all",
|
|
161
161
|
"initial": "normal",
|
|
162
162
|
"percentages": "no",
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"status": "standard"
|
|
202
202
|
},
|
|
203
203
|
"src": {
|
|
204
|
-
"syntax": "[ <url> format(<string>#)? | local(<family-name>) ]#",
|
|
204
|
+
"syntax": "[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",
|
|
205
205
|
"media": "all",
|
|
206
206
|
"initial": "n/a (required)",
|
|
207
207
|
"percentages": "no",
|
|
@@ -281,7 +281,10 @@
|
|
|
281
281
|
"descriptors": {
|
|
282
282
|
"bleed": {
|
|
283
283
|
"syntax": "auto | <length>",
|
|
284
|
-
"media":
|
|
284
|
+
"media": [
|
|
285
|
+
"visual",
|
|
286
|
+
"paged"
|
|
287
|
+
],
|
|
285
288
|
"initial": "auto",
|
|
286
289
|
"percentages": "no",
|
|
287
290
|
"computed": "asSpecified",
|
|
@@ -290,7 +293,10 @@
|
|
|
290
293
|
},
|
|
291
294
|
"marks": {
|
|
292
295
|
"syntax": "none | [ crop || cross ]",
|
|
293
|
-
"media":
|
|
296
|
+
"media": [
|
|
297
|
+
"visual",
|
|
298
|
+
"paged"
|
|
299
|
+
],
|
|
294
300
|
"initial": "none",
|
|
295
301
|
"percentages": "no",
|
|
296
302
|
"computed": "asSpecified",
|
|
@@ -323,7 +329,10 @@
|
|
|
323
329
|
"descriptors": {
|
|
324
330
|
"height": {
|
|
325
331
|
"syntax": "<viewport-length>{1,2}",
|
|
326
|
-
"media":
|
|
332
|
+
"media": [
|
|
333
|
+
"visual",
|
|
334
|
+
"continuous"
|
|
335
|
+
],
|
|
327
336
|
"initial": [
|
|
328
337
|
"min-height",
|
|
329
338
|
"max-height"
|
|
@@ -341,7 +350,10 @@
|
|
|
341
350
|
},
|
|
342
351
|
"max-height": {
|
|
343
352
|
"syntax": "<viewport-length>",
|
|
344
|
-
"media":
|
|
353
|
+
"media": [
|
|
354
|
+
"visual",
|
|
355
|
+
"continuous"
|
|
356
|
+
],
|
|
345
357
|
"initial": "auto",
|
|
346
358
|
"percentages": "referToHeightOfInitialViewport",
|
|
347
359
|
"computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
|
|
@@ -350,7 +362,10 @@
|
|
|
350
362
|
},
|
|
351
363
|
"max-width": {
|
|
352
364
|
"syntax": "<viewport-length>",
|
|
353
|
-
"media":
|
|
365
|
+
"media": [
|
|
366
|
+
"visual",
|
|
367
|
+
"continuous"
|
|
368
|
+
],
|
|
354
369
|
"initial": "auto",
|
|
355
370
|
"percentages": "referToWidthOfInitialViewport",
|
|
356
371
|
"computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
|
|
@@ -359,7 +374,10 @@
|
|
|
359
374
|
},
|
|
360
375
|
"max-zoom": {
|
|
361
376
|
"syntax": "auto | <number> | <percentage>",
|
|
362
|
-
"media":
|
|
377
|
+
"media": [
|
|
378
|
+
"visual",
|
|
379
|
+
"continuous"
|
|
380
|
+
],
|
|
363
381
|
"initial": "auto",
|
|
364
382
|
"percentages": "the zoom factor itself",
|
|
365
383
|
"computed": "autoNonNegativeOrPercentage",
|
|
@@ -368,7 +386,10 @@
|
|
|
368
386
|
},
|
|
369
387
|
"min-height": {
|
|
370
388
|
"syntax": "<viewport-length>",
|
|
371
|
-
"media":
|
|
389
|
+
"media": [
|
|
390
|
+
"visual",
|
|
391
|
+
"continuous"
|
|
392
|
+
],
|
|
372
393
|
"initial": "auto",
|
|
373
394
|
"percentages": "referToHeightOfInitialViewport",
|
|
374
395
|
"computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
|
|
@@ -377,7 +398,10 @@
|
|
|
377
398
|
},
|
|
378
399
|
"min-width": {
|
|
379
400
|
"syntax": "<viewport-length>",
|
|
380
|
-
"media":
|
|
401
|
+
"media": [
|
|
402
|
+
"visual",
|
|
403
|
+
"continuous"
|
|
404
|
+
],
|
|
381
405
|
"initial": "auto",
|
|
382
406
|
"percentages": "referToWidthOfInitialViewport",
|
|
383
407
|
"computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
|
|
@@ -386,7 +410,10 @@
|
|
|
386
410
|
},
|
|
387
411
|
"min-zoom": {
|
|
388
412
|
"syntax": "auto | <number> | <percentage>",
|
|
389
|
-
"media":
|
|
413
|
+
"media": [
|
|
414
|
+
"visual",
|
|
415
|
+
"continuous"
|
|
416
|
+
],
|
|
390
417
|
"initial": "auto",
|
|
391
418
|
"percentages": "the zoom factor itself",
|
|
392
419
|
"computed": "autoNonNegativeOrPercentage",
|
|
@@ -395,7 +422,10 @@
|
|
|
395
422
|
},
|
|
396
423
|
"orientation": {
|
|
397
424
|
"syntax": "auto | portrait | landscape",
|
|
398
|
-
"media":
|
|
425
|
+
"media": [
|
|
426
|
+
"visual",
|
|
427
|
+
"continuous"
|
|
428
|
+
],
|
|
399
429
|
"initial": "auto",
|
|
400
430
|
"percentages": "referToSizeOfBoundingBox",
|
|
401
431
|
"computed": "asSpecified",
|
|
@@ -404,7 +434,10 @@
|
|
|
404
434
|
},
|
|
405
435
|
"user-zoom": {
|
|
406
436
|
"syntax": "zoom | fixed",
|
|
407
|
-
"media":
|
|
437
|
+
"media": [
|
|
438
|
+
"visual",
|
|
439
|
+
"continuous"
|
|
440
|
+
],
|
|
408
441
|
"initial": "zoom",
|
|
409
442
|
"percentages": "referToSizeOfBoundingBox",
|
|
410
443
|
"computed": "asSpecified",
|
|
@@ -413,7 +446,10 @@
|
|
|
413
446
|
},
|
|
414
447
|
"width": {
|
|
415
448
|
"syntax": "<viewport-length>{1,2}",
|
|
416
|
-
"media":
|
|
449
|
+
"media": [
|
|
450
|
+
"visual",
|
|
451
|
+
"continuous"
|
|
452
|
+
],
|
|
417
453
|
"initial": [
|
|
418
454
|
"min-width",
|
|
419
455
|
"max-width"
|
|
@@ -431,7 +467,10 @@
|
|
|
431
467
|
},
|
|
432
468
|
"zoom": {
|
|
433
469
|
"syntax": "auto | <number> | <percentage>",
|
|
434
|
-
"media":
|
|
470
|
+
"media": [
|
|
471
|
+
"visual",
|
|
472
|
+
"continuous"
|
|
473
|
+
],
|
|
435
474
|
"initial": "auto",
|
|
436
475
|
"percentages": "the zoom factor itself",
|
|
437
476
|
"computed": "autoNonNegativeOrPercentage",
|
package/css/at-rules.schema.json
CHANGED
|
@@ -52,7 +52,30 @@
|
|
|
52
52
|
"type": "string"
|
|
53
53
|
},
|
|
54
54
|
"media": {
|
|
55
|
-
"
|
|
55
|
+
"oneOf": [
|
|
56
|
+
{
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": [
|
|
59
|
+
"all",
|
|
60
|
+
"continuous",
|
|
61
|
+
"paged",
|
|
62
|
+
"visual"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "array",
|
|
67
|
+
"minItems": 2,
|
|
68
|
+
"uniqueItems": true,
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": [
|
|
72
|
+
"continuous",
|
|
73
|
+
"paged",
|
|
74
|
+
"visual"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
56
79
|
},
|
|
57
80
|
"initial": {
|
|
58
81
|
"$ref": "#/definitions/stringOrPropertyList"
|
package/css/definitions.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"CSS Animations",
|
|
9
9
|
"CSS Backgrounds and Borders",
|
|
10
10
|
"CSS Box Model",
|
|
11
|
+
"CSS Box Alignment",
|
|
11
12
|
"CSS Break",
|
|
12
13
|
"CSS Charsets",
|
|
13
14
|
"CSS Color",
|
|
@@ -33,11 +34,13 @@
|
|
|
33
34
|
"CSS Miscellaneous",
|
|
34
35
|
"CSS Motion",
|
|
35
36
|
"CSS Namespaces",
|
|
37
|
+
"CSS Overflow",
|
|
36
38
|
"CSS Pages",
|
|
37
39
|
"CSS Positioning",
|
|
38
40
|
"CSS Regions",
|
|
39
41
|
"CSS Resolutions",
|
|
40
42
|
"CSS Ruby",
|
|
43
|
+
"CSS Scroll Anchoring",
|
|
41
44
|
"CSS Scroll Snap",
|
|
42
45
|
"CSS Shapes",
|
|
43
46
|
"CSS Speech",
|