mdn-data 2.23.0 → 2.24.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.
@@ -1656,7 +1656,7 @@
1656
1656
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-content"
1657
1657
  },
1658
1658
  "align-items": {
1659
- "syntax": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",
1659
+ "syntax": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ] | anchor-center",
1660
1660
  "media": "visual",
1661
1661
  "inherited": false,
1662
1662
  "animationType": "discrete",
@@ -1673,7 +1673,7 @@
1673
1673
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-items"
1674
1674
  },
1675
1675
  "align-self": {
1676
- "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
1676
+ "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position> | anchor-center",
1677
1677
  "media": "visual",
1678
1678
  "inherited": false,
1679
1679
  "animationType": "discrete",
@@ -2021,7 +2021,7 @@
2021
2021
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"
2022
2022
  },
2023
2023
  "appearance": {
2024
- "syntax": "none | auto | textfield | menulist-button | <compat-auto>",
2024
+ "syntax": "none | auto | <compat-auto> | <compat-special>",
2025
2025
  "media": "all",
2026
2026
  "inherited": false,
2027
2027
  "animationType": "discrete",
@@ -2085,7 +2085,7 @@
2085
2085
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/backface-visibility"
2086
2086
  },
2087
2087
  "background": {
2088
- "syntax": "[ <bg-layer> , ]* <final-bg-layer>",
2088
+ "syntax": "<bg-layer>#? , <final-bg-layer>",
2089
2089
  "media": "visual",
2090
2090
  "inherited": false,
2091
2091
  "animationType": [
@@ -2709,7 +2709,7 @@
2709
2709
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"
2710
2710
  },
2711
2711
  "border-bottom-left-radius": {
2712
- "syntax": "<length-percentage>{1,2}",
2712
+ "syntax": "<length-percentage [0,∞]>{1,2}",
2713
2713
  "media": "visual",
2714
2714
  "inherited": false,
2715
2715
  "animationType": "lpc",
@@ -2728,7 +2728,7 @@
2728
2728
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"
2729
2729
  },
2730
2730
  "border-bottom-right-radius": {
2731
- "syntax": "<length-percentage>{1,2}",
2731
+ "syntax": "<length-percentage [0,∞]>{1,2}",
2732
2732
  "media": "visual",
2733
2733
  "inherited": false,
2734
2734
  "animationType": "lpc",
@@ -2785,7 +2785,7 @@
2785
2785
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"
2786
2786
  },
2787
2787
  "border-collapse": {
2788
- "syntax": "collapse | separate",
2788
+ "syntax": "separate | collapse",
2789
2789
  "media": "visual",
2790
2790
  "inherited": true,
2791
2791
  "animationType": "discrete",
@@ -2913,7 +2913,7 @@
2913
2913
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-image"
2914
2914
  },
2915
2915
  "border-image-outset": {
2916
- "syntax": "[ <length> | <number> ]{1,4}",
2916
+ "syntax": "[ <length [0,∞]> | <number [0,∞]> ]{1,4} ",
2917
2917
  "media": "visual",
2918
2918
  "inherited": false,
2919
2919
  "animationType": "byComputedValueType",
@@ -2951,7 +2951,7 @@
2951
2951
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"
2952
2952
  },
2953
2953
  "border-image-slice": {
2954
- "syntax": "<number-percentage>{1,4} && fill?",
2954
+ "syntax": "[ <number [0,∞]> | <percentage [0,∞]> ]{1,4} && fill?",
2955
2955
  "media": "visual",
2956
2956
  "inherited": false,
2957
2957
  "animationType": "byComputedValueType",
@@ -2989,7 +2989,7 @@
2989
2989
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-image-source"
2990
2990
  },
2991
2991
  "border-image-width": {
2992
- "syntax": "[ <length-percentage> | <number> | auto ]{1,4}",
2992
+ "syntax": "[ <length-percentage [0,∞]> | <number [0,∞]> | auto ]{1,4}",
2993
2993
  "media": "visual",
2994
2994
  "inherited": false,
2995
2995
  "animationType": "byComputedValueType",
@@ -3324,7 +3324,7 @@
3324
3324
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-left-width"
3325
3325
  },
3326
3326
  "border-radius": {
3327
- "syntax": "<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",
3327
+ "syntax": "<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?",
3328
3328
  "media": "visual",
3329
3329
  "inherited": false,
3330
3330
  "animationType": [
@@ -3446,7 +3446,7 @@
3446
3446
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-right-width"
3447
3447
  },
3448
3448
  "border-spacing": {
3449
- "syntax": "<length> <length>?",
3449
+ "syntax": "<length>{1,2}",
3450
3450
  "media": "visual",
3451
3451
  "inherited": true,
3452
3452
  "animationType": "discrete",
@@ -3579,7 +3579,7 @@
3579
3579
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-top-color"
3580
3580
  },
3581
3581
  "border-top-left-radius": {
3582
- "syntax": "<length-percentage>{1,2}",
3582
+ "syntax": "<length-percentage [0,∞]>{1,2}",
3583
3583
  "media": "visual",
3584
3584
  "inherited": false,
3585
3585
  "animationType": "lpc",
@@ -3598,7 +3598,7 @@
3598
3598
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"
3599
3599
  },
3600
3600
  "border-top-right-radius": {
3601
- "syntax": "<length-percentage>{1,2}",
3601
+ "syntax": "<length-percentage [0,∞]>{1,2}",
3602
3602
  "media": "visual",
3603
3603
  "inherited": false,
3604
3604
  "animationType": "lpc",
@@ -3689,12 +3689,13 @@
3689
3689
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/border-width"
3690
3690
  },
3691
3691
  "bottom": {
3692
- "syntax": "<length> | <percentage> | auto",
3692
+ "syntax": "auto | <length-percentage> | <anchor()> | <anchor-size()>",
3693
3693
  "media": "visual",
3694
3694
  "inherited": false,
3695
3695
  "animationType": "lpc",
3696
3696
  "percentages": "referToContainingBlockHeight",
3697
3697
  "groups": [
3698
+ "CSS Anchor Positioning",
3698
3699
  "CSS Positioned Layout"
3699
3700
  ],
3700
3701
  "initial": "auto",
@@ -4476,7 +4477,7 @@
4476
4477
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/container-type"
4477
4478
  },
4478
4479
  "content": {
4479
- "syntax": "normal | none | [ <content-replacement> | <content-list> ] [/ [ <string> | <counter> ]+ ]?",
4480
+ "syntax": "normal | none | [ <content-replacement> | <content-list> ] [ / [ <string> | <counter> | <attr()> ]+ ]?",
4480
4481
  "media": "all",
4481
4482
  "inherited": false,
4482
4483
  "animationType": "discrete",
@@ -6351,7 +6352,7 @@
6351
6352
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/justify-content"
6352
6353
  },
6353
6354
  "justify-items": {
6354
- "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
6355
+ "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ] | anchor-center",
6355
6356
  "media": "visual",
6356
6357
  "inherited": false,
6357
6358
  "animationType": "discrete",
@@ -6367,7 +6368,7 @@
6367
6368
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/justify-items"
6368
6369
  },
6369
6370
  "justify-self": {
6370
- "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",
6371
+ "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | anchor-center",
6371
6372
  "media": "visual",
6372
6373
  "inherited": false,
6373
6374
  "animationType": "discrete",
@@ -6398,12 +6399,13 @@
6398
6399
  "status": "nonstandard"
6399
6400
  },
6400
6401
  "left": {
6401
- "syntax": "<length> | <percentage> | auto",
6402
+ "syntax": "auto | <length-percentage> | <anchor()> | <anchor-size()>",
6402
6403
  "media": "visual",
6403
6404
  "inherited": false,
6404
6405
  "animationType": "lpc",
6405
6406
  "percentages": "referToWidthOfContainingBlock",
6406
6407
  "groups": [
6408
+ "CSS Anchor Positioning",
6407
6409
  "CSS Positioned Layout"
6408
6410
  ],
6409
6411
  "initial": "auto",
@@ -6678,12 +6680,13 @@
6678
6680
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-block-start"
6679
6681
  },
6680
6682
  "margin-bottom": {
6681
- "syntax": "<length-percentage> | auto",
6683
+ "syntax": "<length-percentage> | auto | <anchor-size()>",
6682
6684
  "media": "visual",
6683
6685
  "inherited": false,
6684
6686
  "animationType": "length",
6685
6687
  "percentages": "referToWidthOfContainingBlock",
6686
6688
  "groups": [
6689
+ "CSS Anchor Positioning",
6687
6690
  "CSS Box Model"
6688
6691
  ],
6689
6692
  "initial": "0",
@@ -6751,12 +6754,13 @@
6751
6754
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"
6752
6755
  },
6753
6756
  "margin-left": {
6754
- "syntax": "<length-percentage> | auto",
6757
+ "syntax": "<length-percentage> | auto | <anchor-size()>",
6755
6758
  "media": "visual",
6756
6759
  "inherited": false,
6757
6760
  "animationType": "length",
6758
6761
  "percentages": "referToWidthOfContainingBlock",
6759
6762
  "groups": [
6763
+ "CSS Anchor Positioning",
6760
6764
  "CSS Box Model"
6761
6765
  ],
6762
6766
  "initial": "0",
@@ -6770,12 +6774,13 @@
6770
6774
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-left"
6771
6775
  },
6772
6776
  "margin-right": {
6773
- "syntax": "<length-percentage> | auto",
6777
+ "syntax": "<length-percentage> | auto | <anchor-size()>",
6774
6778
  "media": "visual",
6775
6779
  "inherited": false,
6776
6780
  "animationType": "length",
6777
6781
  "percentages": "referToWidthOfContainingBlock",
6778
6782
  "groups": [
6783
+ "CSS Anchor Positioning",
6779
6784
  "CSS Box Model"
6780
6785
  ],
6781
6786
  "initial": "0",
@@ -6789,12 +6794,13 @@
6789
6794
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-right"
6790
6795
  },
6791
6796
  "margin-top": {
6792
- "syntax": "<length-percentage> | auto",
6797
+ "syntax": "<length-percentage> | auto | <anchor-size()>",
6793
6798
  "media": "visual",
6794
6799
  "inherited": false,
6795
6800
  "animationType": "length",
6796
6801
  "percentages": "referToWidthOfContainingBlock",
6797
6802
  "groups": [
6803
+ "CSS Anchor Positioning",
6798
6804
  "CSS Box Model"
6799
6805
  ],
6800
6806
  "initial": "0",
@@ -7429,7 +7435,7 @@
7429
7435
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min-width"
7430
7436
  },
7431
7437
  "mix-blend-mode": {
7432
- "syntax": "<blend-mode> | plus-lighter",
7438
+ "syntax": "<blend-mode> | plus-darker | plus-lighter",
7433
7439
  "media": "visual",
7434
7440
  "inherited": false,
7435
7441
  "animationType": "notAnimatable",
@@ -8627,12 +8633,13 @@
8627
8633
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/resize"
8628
8634
  },
8629
8635
  "right": {
8630
- "syntax": "<length> | <percentage> | auto",
8636
+ "syntax": "auto | <length-percentage> | <anchor()> | <anchor-size()>",
8631
8637
  "media": "visual",
8632
8638
  "inherited": false,
8633
8639
  "animationType": "lpc",
8634
8640
  "percentages": "referToWidthOfContainingBlock",
8635
8641
  "groups": [
8642
+ "CSS Anchor Positioning",
8636
8643
  "CSS Positioned Layout"
8637
8644
  ],
8638
8645
  "initial": "auto",
@@ -10363,12 +10370,13 @@
10363
10370
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/timeline-scope"
10364
10371
  },
10365
10372
  "top": {
10366
- "syntax": "<length> | <percentage> | auto",
10373
+ "syntax": "auto | <length-percentage> | <anchor()> | <anchor-size()>",
10367
10374
  "media": "visual",
10368
10375
  "inherited": false,
10369
10376
  "animationType": "lpc",
10370
10377
  "percentages": "referToContainingBlockHeight",
10371
10378
  "groups": [
10379
+ "CSS Anchor Positioning",
10372
10380
  "CSS Positioned Layout"
10373
10381
  ],
10374
10382
  "initial": "auto",
package/css/syntaxes.json CHANGED
@@ -90,7 +90,7 @@
90
90
  "syntax": "<visual-box> | border-area | text"
91
91
  },
92
92
  "bg-image": {
93
- "syntax": "none | <image>"
93
+ "syntax": "<image> | none"
94
94
  },
95
95
  "bg-layer": {
96
96
  "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <visual-box>"
@@ -99,7 +99,7 @@
99
99
  "syntax": "[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]"
100
100
  },
101
101
  "bg-size": {
102
- "syntax": "[ <length-percentage> | auto ]{1,2} | cover | contain"
102
+ "syntax": "[ <length-percentage [0,∞]> | auto ]{1,2} | cover | contain"
103
103
  },
104
104
  "blend-mode": {
105
105
  "syntax": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"
@@ -189,7 +189,10 @@
189
189
  "syntax": "[ common-ligatures | no-common-ligatures ]"
190
190
  },
191
191
  "compat-auto": {
192
- "syntax": "searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"
192
+ "syntax": "searchfield | textarea | checkbox | radio | menulist | listbox | meter | progress-bar | button"
193
+ },
194
+ "compat-special": {
195
+ "syntax": "textfield | menulist-button"
193
196
  },
194
197
  "complex-selector": {
195
198
  "syntax": "<compound-selector> [ <combinator>? <compound-selector> ]*"
@@ -228,7 +231,7 @@
228
231
  "syntax": "space-between | space-around | space-evenly | stretch"
229
232
  },
230
233
  "content-list": {
231
- "syntax": "[ <string> | contents | <image> | <counter> | <quote> | <target> | <leader()> ]+"
234
+ "syntax": "[ <string> | <image | <attr()> | <quote> | <counter> ]+ "
232
235
  },
233
236
  "content-position": {
234
237
  "syntax": "center | start | end | flex-start | flex-end"
@@ -369,7 +372,7 @@
369
372
  "syntax": "[ <filter-function> | <url> ]+"
370
373
  },
371
374
  "final-bg-layer": {
372
- "syntax": "<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <visual-box>"
375
+ "syntax": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <visual-box> || <'background-color'>"
373
376
  },
374
377
  "fit-content()": {
375
378
  "syntax": "fit-content( <length-percentage [0,∞]> )"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [