mdn-data 2.14.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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "@charset": {
3
3
  "syntax": "@charset \"<charset>\";",
4
4
  "groups": [
5
- "CSS Charsets"
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
- "CSSGroupingRule",
127
- "CSSConditionRule"
126
+ "CSSDocumentRule"
128
127
  ],
129
128
  "groups": [
130
129
  "CSS Conditional Rules"
@@ -191,16 +190,6 @@
191
190
  "status": "standard",
192
191
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-feature-settings"
193
192
  },
194
- "font-variation-settings": {
195
- "syntax": "normal | [ <string> <number> ]#",
196
- "media": "all",
197
- "initial": "normal",
198
- "percentages": "no",
199
- "computed": "asSpecified",
200
- "order": "orderOfAppearance",
201
- "status": "standard",
202
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings"
203
- },
204
193
  "font-stretch": {
205
194
  "syntax": "<font-stretch-absolute>{1,2}",
206
195
  "media": "all",
@@ -221,6 +210,16 @@
221
210
  "status": "standard",
222
211
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-style"
223
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
+ },
224
223
  "font-weight": {
225
224
  "syntax": "<font-weight-absolute>{1,2}",
226
225
  "media": "all",
@@ -262,7 +261,7 @@
262
261
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/src"
263
262
  },
264
263
  "unicode-range": {
265
- "syntax": "<unicode-range>#",
264
+ "syntax": "<unicode-range-token>#",
266
265
  "media": "all",
267
266
  "initial": "U+0-10FFFF",
268
267
  "percentages": "no",
@@ -288,6 +287,9 @@
288
287
  },
289
288
  "@font-palette-values": {
290
289
  "syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
290
+ "interfaces": [
291
+ "CSSFontPaletteValuesRule"
292
+ ],
291
293
  "groups": [
292
294
  "CSS Fonts"
293
295
  ],
@@ -328,6 +330,9 @@
328
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
- "CSSGroupingRule",
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
  }
@@ -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": {
@@ -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 Break",
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",
@@ -69,7 +69,7 @@
69
69
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/attr"
70
70
  },
71
71
  "blur()": {
72
- "syntax": "blur( <length> )",
72
+ "syntax": "blur( <length>? )",
73
73
  "groups": [
74
74
  "Filter Effects"
75
75
  ],
@@ -77,7 +77,7 @@
77
77
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/blur"
78
78
  },
79
79
  "brightness()": {
80
- "syntax": "brightness( <number-percentage> )",
80
+ "syntax": "brightness( [ <number> | <percentage> ]? )",
81
81
  "groups": [
82
82
  "Filter Effects"
83
83
  ],
@@ -119,6 +119,22 @@
119
119
  "status": "standard",
120
120
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clamp"
121
121
  },
122
+ "color()": {
123
+ "syntax": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
124
+ "groups": [
125
+ "CSS Color"
126
+ ],
127
+ "status": "standard",
128
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color"
129
+ },
130
+ "color-mix()": {
131
+ "syntax": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})",
132
+ "groups": [
133
+ "CSS Color"
134
+ ],
135
+ "status": "standard",
136
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color-mix"
137
+ },
122
138
  "conic-gradient()": {
123
139
  "syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )",
124
140
  "groups": [
@@ -129,10 +145,9 @@
129
145
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/conic-gradient"
130
146
  },
131
147
  "contrast()": {
132
- "syntax": "contrast( [ <number-percentage> ] )",
148
+ "syntax": "contrast( [ <number> | <percentage> ]? )",
133
149
  "groups": [
134
- "Filter Effects",
135
- "CSS Color"
150
+ "Filter Effects"
136
151
  ],
137
152
  "status": "standard",
138
153
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/contrast"
@@ -172,10 +187,9 @@
172
187
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cross-fade"
173
188
  },
174
189
  "drop-shadow()": {
175
- "syntax": "drop-shadow( <length>{2,3} <color>? )",
190
+ "syntax": "drop-shadow( [ <color>? && <length>{2,3} ] )",
176
191
  "groups": [
177
- "Filter Effects",
178
- "CSS Color"
192
+ "Filter Effects"
179
193
  ],
180
194
  "status": "standard",
181
195
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/drop-shadow"
@@ -183,7 +197,7 @@
183
197
  "element()": {
184
198
  "syntax": "element( <id-selector> )",
185
199
  "groups": [
186
- "CSS Miscellaneous"
200
+ "CSS Images"
187
201
  ],
188
202
  "status": "experimental",
189
203
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/element"
@@ -222,10 +236,9 @@
222
236
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fit-content_function"
223
237
  },
224
238
  "grayscale()": {
225
- "syntax": "grayscale( <number-percentage> )",
239
+ "syntax": "grayscale( [ <number> | <percentage> ]? )",
226
240
  "groups": [
227
- "Filter Effects",
228
- "CSS Color"
241
+ "Filter Effects"
229
242
  ],
230
243
  "status": "standard",
231
244
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/grayscale"
@@ -244,17 +257,24 @@
244
257
  "CSS Color"
245
258
  ],
246
259
  "status": "nonstandard",
247
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hsla"
260
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hsl"
248
261
  },
249
262
  "hue-rotate()": {
250
- "syntax": "hue-rotate( <angle> )",
263
+ "syntax": "hue-rotate( [ <angle> | <zero> ]? )",
251
264
  "groups": [
252
- "Filter Effects",
253
- "CSS Color"
265
+ "Filter Effects"
254
266
  ],
255
267
  "status": "standard",
256
268
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/hue-rotate"
257
269
  },
270
+ "hwb()": {
271
+ "syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
272
+ "groups": [
273
+ "CSS Color"
274
+ ],
275
+ "status": "standard",
276
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hwb"
277
+ },
258
278
  "hypot()": {
259
279
  "syntax": "hypot( <calc-sum># )",
260
280
  "groups": [
@@ -264,14 +284,6 @@
264
284
  "status": "standard",
265
285
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hypot"
266
286
  },
267
- "hwb()": {
268
- "syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )",
269
- "groups": [
270
- "CSS Color"
271
- ],
272
- "status": "standard",
273
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hwb"
274
- },
275
287
  "image()": {
276
288
  "syntax": "image( <image-tags>? [ <image-src>? , <color>? ]! )",
277
289
  "groups": [
@@ -297,10 +309,9 @@
297
309
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/inset"
298
310
  },
299
311
  "invert()": {
300
- "syntax": "invert( <number-percentage> )",
312
+ "syntax": "invert( [ <number> | <percentage> ]? )",
301
313
  "groups": [
302
- "Filter Effects",
303
- "CSS Color"
314
+ "Filter Effects"
304
315
  ],
305
316
  "status": "standard",
306
317
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/invert"
@@ -332,9 +343,9 @@
332
343
  "leader()": {
333
344
  "syntax": "leader( <leader-type> )",
334
345
  "groups": [
335
- "CSS Miscellaneous"
346
+ "CSS Generated Content"
336
347
  ],
337
- "status": "nonstandard"
348
+ "status": "standard"
338
349
  },
339
350
  "light-dark()": {
340
351
  "syntax": "light-dark( <color>, <color> )",
@@ -431,10 +442,9 @@
431
442
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/oklch"
432
443
  },
433
444
  "opacity()": {
434
- "syntax": "opacity( [ <number-percentage> ] )",
445
+ "syntax": "opacity( [ <number> | <percentage> ]? )",
435
446
  "groups": [
436
- "Filter Effects",
437
- "CSS Color"
447
+ "Filter Effects"
438
448
  ],
439
449
  "status": "standard",
440
450
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/opacity"
@@ -531,7 +541,7 @@
531
541
  "CSS Color"
532
542
  ],
533
543
  "status": "standard",
534
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/repeating-linear-gradient"
544
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-linear-gradient"
535
545
  },
536
546
  "repeating-radial-gradient()": {
537
547
  "syntax": "repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
@@ -540,7 +550,7 @@
540
550
  "CSS Color"
541
551
  ],
542
552
  "status": "standard",
543
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-linear-gradient"
553
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-radial-gradient"
544
554
  },
545
555
  "rgb()": {
546
556
  "syntax": "rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
@@ -556,7 +566,7 @@
556
566
  "CSS Color"
557
567
  ],
558
568
  "status": "nonstandard",
559
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgba"
569
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgb"
560
570
  },
561
571
  "rotate()": {
562
572
  "syntax": "rotate( [ <angle> | <zero> ] )",
@@ -608,10 +618,9 @@
608
618
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/round"
609
619
  },
610
620
  "saturate()": {
611
- "syntax": "saturate( <number-percentage> )",
621
+ "syntax": "saturate( [ <number> | <percentage> ]? )",
612
622
  "groups": [
613
- "Filter Effects",
614
- "CSS Color"
623
+ "Filter Effects"
615
624
  ],
616
625
  "status": "standard",
617
626
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/saturate"
@@ -665,10 +674,9 @@
665
674
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/scroll"
666
675
  },
667
676
  "sepia()": {
668
- "syntax": "sepia( <number-percentage> )",
677
+ "syntax": "sepia( [ <number> | <percentage> ]? )",
669
678
  "groups": [
670
- "Filter Effects",
671
- "CSS Color"
679
+ "Filter Effects"
672
680
  ],
673
681
  "status": "standard",
674
682
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/sepia"
@@ -724,6 +732,15 @@
724
732
  "status": "standard",
725
733
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt"
726
734
  },
735
+ "tan()": {
736
+ "syntax": "tan( <calc-sum> )",
737
+ "groups": [
738
+ "CSS Units",
739
+ "CSS Lengths"
740
+ ],
741
+ "status": "standard",
742
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tan"
743
+ },
727
744
  "target-counter()": {
728
745
  "syntax": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )",
729
746
  "groups": [
@@ -741,18 +758,9 @@
741
758
  "target-text()": {
742
759
  "syntax": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )",
743
760
  "groups": [
744
- "CSS Miscellaneous"
745
- ],
746
- "status": "nonstandard"
747
- },
748
- "tan()": {
749
- "syntax": "tan( <calc-sum> )",
750
- "groups": [
751
- "CSS Units",
752
- "CSS Lengths"
761
+ "CSS Generated Content"
753
762
  ],
754
- "status": "standard",
755
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tan"
763
+ "status": "standard"
756
764
  },
757
765
  "translate()": {
758
766
  "syntax": "translate( <length-percentage> , <length-percentage>? )",
@@ -797,7 +805,7 @@
797
805
  "var()": {
798
806
  "syntax": "var( <custom-property-name> , <declaration-value>? )",
799
807
  "groups": [
800
- "CSS Miscellaneous"
808
+ "CSS Custom Properties for Cascading Variables"
801
809
  ],
802
810
  "status": "standard",
803
811
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/var"