mdn-data 2.13.0 → 2.15.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.
- package/css/at-rules.json +98 -71
- package/css/at-rules.schema.json +4 -2
- package/css/definitions.json +4 -6
- package/css/functions.json +273 -53
- package/css/properties.json +527 -572
- package/css/properties.schema.json +2 -1
- package/css/selectors.json +289 -138
- package/css/selectors.schema.json +2 -1
- package/css/syntaxes.json +155 -89
- package/css/types.json +11 -11
- package/css/units.schema.json +2 -1
- package/l10n/css.json +46 -40
- package/package.json +1 -1
package/css/at-rules.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"@charset": {
|
|
3
3
|
"syntax": "@charset \"<charset>\";",
|
|
4
4
|
"groups": [
|
|
5
|
-
"CSS
|
|
5
|
+
"CSS Syntax"
|
|
6
6
|
],
|
|
7
7
|
"status": "standard",
|
|
8
8
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@charset"
|
|
@@ -123,8 +123,7 @@
|
|
|
123
123
|
"@document": {
|
|
124
124
|
"syntax": "@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\n <group-rule-body>\n}",
|
|
125
125
|
"interfaces": [
|
|
126
|
-
"
|
|
127
|
-
"CSSConditionRule"
|
|
126
|
+
"CSSDocumentRule"
|
|
128
127
|
],
|
|
129
128
|
"groups": [
|
|
130
129
|
"CSS Conditional Rules"
|
|
@@ -132,46 +131,6 @@
|
|
|
132
131
|
"status": "nonstandard",
|
|
133
132
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@document"
|
|
134
133
|
},
|
|
135
|
-
"@font-palette-values": {
|
|
136
|
-
"syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
|
|
137
|
-
"groups": [
|
|
138
|
-
"CSS Fonts"
|
|
139
|
-
],
|
|
140
|
-
"descriptors": {
|
|
141
|
-
"base-palette": {
|
|
142
|
-
"syntax": "light | dark | <integer [0,∞]>",
|
|
143
|
-
"media": "all",
|
|
144
|
-
"initial": "n/a (required)",
|
|
145
|
-
"percentages": "no",
|
|
146
|
-
"computed": "asSpecified",
|
|
147
|
-
"order": "uniqueOrder",
|
|
148
|
-
"status": "standard",
|
|
149
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/base-palette"
|
|
150
|
-
},
|
|
151
|
-
"font-family": {
|
|
152
|
-
"syntax": "<family-name>#",
|
|
153
|
-
"media": "all",
|
|
154
|
-
"initial": "n/a (required)",
|
|
155
|
-
"percentages": "no",
|
|
156
|
-
"computed": "asSpecified",
|
|
157
|
-
"order": "orderOfAppearance",
|
|
158
|
-
"status": "standard",
|
|
159
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/font-family"
|
|
160
|
-
},
|
|
161
|
-
"override-colors": {
|
|
162
|
-
"syntax": "[ <integer [0,∞]> <color> ]#",
|
|
163
|
-
"media": "all",
|
|
164
|
-
"initial": "n/a (required)",
|
|
165
|
-
"percentages": "no",
|
|
166
|
-
"computed": "asSpecified",
|
|
167
|
-
"order": "orderOfAppearance",
|
|
168
|
-
"status": "standard",
|
|
169
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/override-colors"
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"status": "standard",
|
|
173
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
|
|
174
|
-
},
|
|
175
134
|
"@font-face": {
|
|
176
135
|
"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 [ size-adjust: <size-adjust>; ] ||\n [ ascent-override: <ascent-override>; ] ||\n [ descent-override: <descent-override>; ] ||\n [ line-gap-override: <line-gap-override>; ]\n}",
|
|
177
136
|
"interfaces": [
|
|
@@ -231,16 +190,6 @@
|
|
|
231
190
|
"status": "standard",
|
|
232
191
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-feature-settings"
|
|
233
192
|
},
|
|
234
|
-
"font-variation-settings": {
|
|
235
|
-
"syntax": "normal | [ <string> <number> ]#",
|
|
236
|
-
"media": "all",
|
|
237
|
-
"initial": "normal",
|
|
238
|
-
"percentages": "no",
|
|
239
|
-
"computed": "asSpecified",
|
|
240
|
-
"order": "orderOfAppearance",
|
|
241
|
-
"status": "standard",
|
|
242
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings"
|
|
243
|
-
},
|
|
244
193
|
"font-stretch": {
|
|
245
194
|
"syntax": "<font-stretch-absolute>{1,2}",
|
|
246
195
|
"media": "all",
|
|
@@ -261,6 +210,16 @@
|
|
|
261
210
|
"status": "standard",
|
|
262
211
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-style"
|
|
263
212
|
},
|
|
213
|
+
"font-variation-settings": {
|
|
214
|
+
"syntax": "normal | [ <string> <number> ]#",
|
|
215
|
+
"media": "all",
|
|
216
|
+
"initial": "normal",
|
|
217
|
+
"percentages": "no",
|
|
218
|
+
"computed": "asSpecified",
|
|
219
|
+
"order": "orderOfAppearance",
|
|
220
|
+
"status": "standard",
|
|
221
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings"
|
|
222
|
+
},
|
|
264
223
|
"font-weight": {
|
|
265
224
|
"syntax": "<font-weight-absolute>{1,2}",
|
|
266
225
|
"media": "all",
|
|
@@ -302,7 +261,7 @@
|
|
|
302
261
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/src"
|
|
303
262
|
},
|
|
304
263
|
"unicode-range": {
|
|
305
|
-
"syntax": "<unicode-range>#",
|
|
264
|
+
"syntax": "<unicode-range-token>#",
|
|
306
265
|
"media": "all",
|
|
307
266
|
"initial": "U+0-10FFFF",
|
|
308
267
|
"percentages": "no",
|
|
@@ -326,8 +285,54 @@
|
|
|
326
285
|
"status": "standard",
|
|
327
286
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
|
|
328
287
|
},
|
|
288
|
+
"@font-palette-values": {
|
|
289
|
+
"syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
|
|
290
|
+
"interfaces": [
|
|
291
|
+
"CSSFontPaletteValuesRule"
|
|
292
|
+
],
|
|
293
|
+
"groups": [
|
|
294
|
+
"CSS Fonts"
|
|
295
|
+
],
|
|
296
|
+
"descriptors": {
|
|
297
|
+
"base-palette": {
|
|
298
|
+
"syntax": "light | dark | <integer [0,∞]>",
|
|
299
|
+
"media": "all",
|
|
300
|
+
"initial": "n/a (required)",
|
|
301
|
+
"percentages": "no",
|
|
302
|
+
"computed": "asSpecified",
|
|
303
|
+
"order": "uniqueOrder",
|
|
304
|
+
"status": "standard",
|
|
305
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/base-palette"
|
|
306
|
+
},
|
|
307
|
+
"font-family": {
|
|
308
|
+
"syntax": "<family-name>#",
|
|
309
|
+
"media": "all",
|
|
310
|
+
"initial": "n/a (required)",
|
|
311
|
+
"percentages": "no",
|
|
312
|
+
"computed": "asSpecified",
|
|
313
|
+
"order": "orderOfAppearance",
|
|
314
|
+
"status": "standard",
|
|
315
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/font-family"
|
|
316
|
+
},
|
|
317
|
+
"override-colors": {
|
|
318
|
+
"syntax": "[ <integer [0,∞]> <color> ]#",
|
|
319
|
+
"media": "all",
|
|
320
|
+
"initial": "n/a (required)",
|
|
321
|
+
"percentages": "no",
|
|
322
|
+
"computed": "asSpecified",
|
|
323
|
+
"order": "orderOfAppearance",
|
|
324
|
+
"status": "standard",
|
|
325
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/override-colors"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"status": "standard",
|
|
329
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
|
|
330
|
+
},
|
|
329
331
|
"@import": {
|
|
330
332
|
"syntax": "@import [ <string> | <url> ]\n [ layer | layer(<layer-name>) ]?\n [ supports( [ <supports-condition> | <declaration> ] ) ]?\n <media-query-list>? ;",
|
|
333
|
+
"interfaces": [
|
|
334
|
+
"CSSImportRule"
|
|
335
|
+
],
|
|
331
336
|
"groups": [
|
|
332
337
|
"CSS Conditional Rules",
|
|
333
338
|
"Media Queries"
|
|
@@ -362,10 +367,7 @@
|
|
|
362
367
|
"@media": {
|
|
363
368
|
"syntax": "@media <media-query-list> {\n <group-rule-body>\n}",
|
|
364
369
|
"interfaces": [
|
|
365
|
-
"
|
|
366
|
-
"CSSConditionRule",
|
|
367
|
-
"CSSMediaRule",
|
|
368
|
-
"CSSCustomMediaRule"
|
|
370
|
+
"CSSMediaRule"
|
|
369
371
|
],
|
|
370
372
|
"groups": [
|
|
371
373
|
"CSS Conditional Rules",
|
|
@@ -376,6 +378,9 @@
|
|
|
376
378
|
},
|
|
377
379
|
"@namespace": {
|
|
378
380
|
"syntax": "@namespace <namespace-prefix>? [ <string> | <url> ];",
|
|
381
|
+
"interfaces": [
|
|
382
|
+
"CSSNamespaceRule"
|
|
383
|
+
],
|
|
379
384
|
"groups": [
|
|
380
385
|
"CSS Namespaces"
|
|
381
386
|
],
|
|
@@ -459,23 +464,12 @@
|
|
|
459
464
|
"@property": {
|
|
460
465
|
"syntax": "@property <custom-property-name> {\n <declaration-list>\n}",
|
|
461
466
|
"interfaces": [
|
|
462
|
-
"CSS",
|
|
463
467
|
"CSSPropertyRule"
|
|
464
468
|
],
|
|
465
469
|
"groups": [
|
|
466
470
|
"CSS Houdini"
|
|
467
471
|
],
|
|
468
472
|
"descriptors": {
|
|
469
|
-
"syntax": {
|
|
470
|
-
"syntax": "<string>",
|
|
471
|
-
"media": "all",
|
|
472
|
-
"percentages": "no",
|
|
473
|
-
"initial": "n/a (required)",
|
|
474
|
-
"computed": "asSpecified",
|
|
475
|
-
"order": "uniqueOrder",
|
|
476
|
-
"status": "standard",
|
|
477
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/syntax"
|
|
478
|
-
},
|
|
479
473
|
"inherits": {
|
|
480
474
|
"syntax": "true | false",
|
|
481
475
|
"media": "all",
|
|
@@ -495,6 +489,16 @@
|
|
|
495
489
|
"order": "uniqueOrder",
|
|
496
490
|
"status": "standard",
|
|
497
491
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/initial-value"
|
|
492
|
+
},
|
|
493
|
+
"syntax": {
|
|
494
|
+
"syntax": "<string>",
|
|
495
|
+
"media": "all",
|
|
496
|
+
"percentages": "no",
|
|
497
|
+
"initial": "n/a (required)",
|
|
498
|
+
"computed": "asSpecified",
|
|
499
|
+
"order": "uniqueOrder",
|
|
500
|
+
"status": "standard",
|
|
501
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/syntax"
|
|
498
502
|
}
|
|
499
503
|
},
|
|
500
504
|
"status": "standard",
|
|
@@ -502,6 +506,9 @@
|
|
|
502
506
|
},
|
|
503
507
|
"@scope": {
|
|
504
508
|
"syntax": "@scope [(<scope-start>)]? [to (<scope-end>)]? {\n <rule-list>\n}",
|
|
509
|
+
"interfaces": [
|
|
510
|
+
"CSSScopeRule"
|
|
511
|
+
],
|
|
505
512
|
"groups": [
|
|
506
513
|
"CSS Conditional Rules"
|
|
507
514
|
],
|
|
@@ -522,8 +529,6 @@
|
|
|
522
529
|
"@supports": {
|
|
523
530
|
"syntax": "@supports <supports-condition> {\n <group-rule-body>\n}",
|
|
524
531
|
"interfaces": [
|
|
525
|
-
"CSSGroupingRule",
|
|
526
|
-
"CSSConditionRule",
|
|
527
532
|
"CSSSupportsRule"
|
|
528
533
|
],
|
|
529
534
|
"groups": [
|
|
@@ -531,5 +536,27 @@
|
|
|
531
536
|
],
|
|
532
537
|
"status": "standard",
|
|
533
538
|
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@supports"
|
|
539
|
+
},
|
|
540
|
+
"@view-transition": {
|
|
541
|
+
"syntax": "@view-transition {\n <declaration-list>\n}",
|
|
542
|
+
"interfaces": [
|
|
543
|
+
"CSSViewTransitionRule"
|
|
544
|
+
],
|
|
545
|
+
"groups": [
|
|
546
|
+
"CSS View Transitions"
|
|
547
|
+
],
|
|
548
|
+
"descriptors": {
|
|
549
|
+
"navigation": {
|
|
550
|
+
"syntax": "auto | none",
|
|
551
|
+
"media": "all",
|
|
552
|
+
"initial": "none",
|
|
553
|
+
"percentages": "no",
|
|
554
|
+
"computed": "asSpecified",
|
|
555
|
+
"order": "uniqueOrder",
|
|
556
|
+
"status": "standard"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"status": "standard",
|
|
560
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@view-transition"
|
|
534
561
|
}
|
|
535
562
|
}
|
package/css/at-rules.schema.json
CHANGED
|
@@ -96,7 +96,8 @@
|
|
|
96
96
|
"enum": [
|
|
97
97
|
"standard",
|
|
98
98
|
"nonstandard",
|
|
99
|
-
"experimental"
|
|
99
|
+
"experimental",
|
|
100
|
+
"obsolete"
|
|
100
101
|
]
|
|
101
102
|
},
|
|
102
103
|
"mdn_url": {
|
|
@@ -118,7 +119,8 @@
|
|
|
118
119
|
"enum": [
|
|
119
120
|
"standard",
|
|
120
121
|
"nonstandard",
|
|
121
|
-
"experimental"
|
|
122
|
+
"experimental",
|
|
123
|
+
"obsolete"
|
|
122
124
|
]
|
|
123
125
|
},
|
|
124
126
|
"mdn_url": {
|
package/css/definitions.json
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"CSS Animations",
|
|
9
9
|
"CSS Backgrounds and Borders",
|
|
10
10
|
"CSS Basic User Interface",
|
|
11
|
-
"CSS Box Model",
|
|
12
11
|
"CSS Box Alignment",
|
|
13
|
-
"CSS
|
|
12
|
+
"CSS Box Model",
|
|
13
|
+
"CSS Box Sizing",
|
|
14
14
|
"CSS Cascading and Inheritance",
|
|
15
|
-
"CSS Charsets",
|
|
16
15
|
"CSS Color",
|
|
17
16
|
"CSS Columns",
|
|
18
17
|
"CSS Conditional Rules",
|
|
19
18
|
"CSS Containment",
|
|
20
19
|
"CSS Counter Styles",
|
|
20
|
+
"CSS Custom Properties for Cascading Variables",
|
|
21
21
|
"CSS Device Adaptation",
|
|
22
22
|
"CSS Display",
|
|
23
23
|
"CSS Flexible Box Layout",
|
|
@@ -34,13 +34,11 @@
|
|
|
34
34
|
"CSS Lists and Counters",
|
|
35
35
|
"CSS Logical Properties",
|
|
36
36
|
"CSS Masking",
|
|
37
|
-
"CSS Miscellaneous",
|
|
38
37
|
"CSS Motion Path",
|
|
39
38
|
"CSS Namespaces",
|
|
40
39
|
"CSS Overflow",
|
|
41
40
|
"CSS Pages",
|
|
42
41
|
"CSS Positioning",
|
|
43
|
-
"CSS Regions",
|
|
44
42
|
"CSS Resolutions",
|
|
45
43
|
"CSS Ruby",
|
|
46
44
|
"CSS Scroll Anchoring",
|
|
@@ -49,6 +47,7 @@
|
|
|
49
47
|
"CSS Shadow Parts",
|
|
50
48
|
"CSS Shapes",
|
|
51
49
|
"CSS Speech",
|
|
50
|
+
"CSS Syntax",
|
|
52
51
|
"CSS Table",
|
|
53
52
|
"CSS Text",
|
|
54
53
|
"CSS Text Decoration",
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
"CSS Transitions",
|
|
58
57
|
"CSS Types",
|
|
59
58
|
"CSS Units",
|
|
60
|
-
"CSS Variables",
|
|
61
59
|
"CSS View Transitions",
|
|
62
60
|
"CSS Will Change",
|
|
63
61
|
"CSS Writing Modes",
|