mdn-data 2.11.0 → 2.12.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "anchor()": {
3
- "syntax": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
3
+ "syntax": "anchor( <anchor-name>? && <anchor-side>, <length-percentage>? )",
4
4
  "groups": [
5
5
  "CSS Positioning"
6
6
  ],
@@ -8,7 +8,7 @@
8
8
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor"
9
9
  },
10
10
  "anchor-size()": {
11
- "syntax": "anchor-size( <anchor-element>? <anchor-size>, <length-percentage>? )",
11
+ "syntax": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
12
12
  "groups": [
13
13
  "CSS Positioning"
14
14
  ],
@@ -4193,7 +4193,7 @@
4193
4193
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/column-count"
4194
4194
  },
4195
4195
  "column-fill": {
4196
- "syntax": "auto | balance | balance-all",
4196
+ "syntax": "auto | balance",
4197
4197
  "media": "visualInContinuousMediaNoEffectInOverflowColumns",
4198
4198
  "inherited": false,
4199
4199
  "animationType": "discrete",
@@ -6194,22 +6194,6 @@
6194
6194
  "status": "standard",
6195
6195
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset"
6196
6196
  },
6197
- "inset-area": {
6198
- "syntax": "none | <inset-area>",
6199
- "media": "visual",
6200
- "inherited": false,
6201
- "animationType": "discrete",
6202
- "percentages": "no",
6203
- "groups": [
6204
- "CSS Positioning"
6205
- ],
6206
- "initial": "none",
6207
- "appliesto": "positionedElementsWithADefaultAnchorElement",
6208
- "computed": "asSpecified",
6209
- "order": "perGrammar",
6210
- "status": "experimental",
6211
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset-area"
6212
- },
6213
6197
  "inset-block": {
6214
6198
  "syntax": "<'top'>{1,2}",
6215
6199
  "media": "visual",
@@ -6318,6 +6302,22 @@
6318
6302
  "status": "standard",
6319
6303
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"
6320
6304
  },
6305
+ "interpolate-size": {
6306
+ "syntax": "numeric-only | allow-keywords",
6307
+ "media": "none",
6308
+ "inherited": true,
6309
+ "animationType": "notAnimatable",
6310
+ "percentages": "no",
6311
+ "groups": [
6312
+ "CSS Units"
6313
+ ],
6314
+ "initial": "numeric-only",
6315
+ "appliesto": "allElements",
6316
+ "computed": "asSpecified",
6317
+ "order": "perGrammar",
6318
+ "status": "standard",
6319
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/interpolate-size"
6320
+ },
6321
6321
  "isolation": {
6322
6322
  "syntax": "auto | isolate",
6323
6323
  "media": "visual",
@@ -7513,7 +7513,8 @@
7513
7513
  "appliesto": "transformableElements",
7514
7514
  "computed": "forLengthAbsoluteValueOtherwisePercentage",
7515
7515
  "order": "perGrammar",
7516
- "status": "standard"
7516
+ "status": "standard",
7517
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/offset-anchor"
7517
7518
  },
7518
7519
  "offset-distance": {
7519
7520
  "syntax": "<length-percentage>",
@@ -8419,7 +8420,7 @@
8419
8420
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position"
8420
8421
  },
8421
8422
  "position-anchor": {
8422
- "syntax": "<anchor-element>",
8423
+ "syntax": "auto | <anchor-name>",
8423
8424
  "media": "visual",
8424
8425
  "inherited": false,
8425
8426
  "animationType": "discrete",
@@ -8427,13 +8428,29 @@
8427
8428
  "groups": [
8428
8429
  "CSS Positioning"
8429
8430
  ],
8430
- "initial": "implicit",
8431
+ "initial": "auto",
8431
8432
  "appliesto": "absolutelyPositionedElements",
8432
8433
  "computed": "asSpecified",
8433
8434
  "order": "perGrammar",
8434
8435
  "status": "experimental",
8435
8436
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-anchor"
8436
8437
  },
8438
+ "position-area": {
8439
+ "syntax": "none | <position-area>",
8440
+ "media": "visual",
8441
+ "inherited": false,
8442
+ "animationType": "discrete",
8443
+ "percentages": "no",
8444
+ "groups": [
8445
+ "CSS Positioning"
8446
+ ],
8447
+ "initial": "none",
8448
+ "appliesto": "positionedElementsWithADefaultAnchorElement",
8449
+ "computed": "asSpecified",
8450
+ "order": "perGrammar",
8451
+ "status": "experimental",
8452
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-area"
8453
+ },
8437
8454
  "position-try": {
8438
8455
  "syntax": "<'position-try-order'>? <'position-try-fallbacks'>",
8439
8456
  "media": "visual",
@@ -8442,7 +8459,10 @@
8442
8459
  "position-try-fallbacks",
8443
8460
  "position-try-order"
8444
8461
  ],
8445
- "percentages": "no",
8462
+ "percentages": [
8463
+ "position-try-fallbacks",
8464
+ "position-try-order"
8465
+ ],
8446
8466
  "groups": [
8447
8467
  "CSS Positioning"
8448
8468
  ],
@@ -8460,7 +8480,7 @@
8460
8480
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try"
8461
8481
  },
8462
8482
  "position-try-fallbacks": {
8463
- "syntax": "none | [ [<dashed-ident> || <try-tactic>] | inset-area( <'inset-area'> ) ]#",
8483
+ "syntax": "none | [ [<dashed-ident> || <try-tactic>] | <'position-area'> ]#",
8464
8484
  "media": "visual",
8465
8485
  "inherited": false,
8466
8486
  "animationType": "discrete",
@@ -9877,7 +9897,7 @@
9877
9897
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"
9878
9898
  },
9879
9899
  "text-emphasis-position": {
9880
- "syntax": "[ over | under ] && [ right | left ]",
9900
+ "syntax": "auto | [ over | under ] && [ right | left ]?",
9881
9901
  "media": "visual",
9882
9902
  "inherited": true,
9883
9903
  "animationType": "discrete",
@@ -9885,7 +9905,7 @@
9885
9905
  "groups": [
9886
9906
  "CSS Text Decoration"
9887
9907
  ],
9888
- "initial": "over right",
9908
+ "initial": "auto",
9889
9909
  "appliesto": "allElements",
9890
9910
  "computed": "asSpecified",
9891
9911
  "order": "uniqueOrder",
@@ -10103,17 +10123,23 @@
10103
10123
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-underline-position"
10104
10124
  },
10105
10125
  "text-wrap": {
10106
- "syntax": "wrap | nowrap | balance | stable | pretty",
10126
+ "syntax": "<'text-wrap-mode> || <'text-wrap-style'>",
10107
10127
  "media": "visual",
10108
10128
  "inherited": true,
10109
- "animationType": "discrete",
10129
+ "animationType": [
10130
+ "text-wrap-mode",
10131
+ "text-wrap-style"
10132
+ ],
10110
10133
  "percentages": "no",
10111
10134
  "groups": [
10112
10135
  "CSS Text"
10113
10136
  ],
10114
10137
  "initial": "wrap",
10115
10138
  "appliesto": "textAndBlockContainers",
10116
- "computed": "asSpecified",
10139
+ "computed": [
10140
+ "text-wrap-mode",
10141
+ "text-wrap-style"
10142
+ ],
10117
10143
  "order": "perGrammar",
10118
10144
  "status": "standard",
10119
10145
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap"
package/css/syntaxes.json CHANGED
@@ -137,6 +137,9 @@
137
137
  "color-stop-list": {
138
138
  "syntax": "[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"
139
139
  },
140
+ "color-interpolation-method": {
141
+ "syntax": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
142
+ },
140
143
  "combinator": {
141
144
  "syntax": "'>' | '+' | '~' | [ '||' ]"
142
145
  },
@@ -356,6 +359,9 @@
356
359
  "hue-rotate()": {
357
360
  "syntax": "hue-rotate( <angle> )"
358
361
  },
362
+ "hue-interpolation-method": {
363
+ "syntax": "[ shorter | longer | increasing | decreasing ] hue"
364
+ },
359
365
  "hwb()": {
360
366
  "syntax": "hwb( [<hue> | none] [<percentage> | none] [<percentage> | none] [ / [<alpha-value> | none] ]? )"
361
367
  },
@@ -447,7 +453,7 @@
447
453
  "syntax": "<color> <color-stop-length>?"
448
454
  },
449
455
  "linear-gradient()": {
450
- "syntax": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"
456
+ "syntax": "linear-gradient( [ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list> )"
451
457
  },
452
458
  "log()": {
453
459
  "syntax": "log( <calc-sum>, <calc-sum>? )"
@@ -596,6 +602,9 @@
596
602
  "polygon()": {
597
603
  "syntax": "polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"
598
604
  },
605
+ "polar-color-space": {
606
+ "syntax": "hsl | hwb | lch | oklch"
607
+ },
599
608
  "position": {
600
609
  "syntax": "[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]"
601
610
  },
@@ -626,6 +635,9 @@
626
635
  "ray-size": {
627
636
  "syntax": "closest-side | closest-corner | farthest-side | farthest-corner | sides"
628
637
  },
638
+ "rectangular-color-space": {
639
+ "syntax": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
640
+ },
629
641
  "relative-selector": {
630
642
  "syntax": "<combinator>? <complex-selector>"
631
643
  },
package/l10n/css.json CHANGED
@@ -660,11 +660,11 @@
660
660
  "ru": "продолжительный"
661
661
  },
662
662
  "createsStackingContext": {
663
- "de": "Erstellt <a href=\"/de/docs/Web/CSS/CSS_Positioning/z_index_verstehen/Der_Stackingkontext\">Stapelkontext</a>",
664
- "en-US": "Creates <a href=\"/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context\">stacking context</a>",
665
- "fr": "Crée un <a href=\"/fr/docs/Web/CSS/Comprendre_z-index/L'empilement_de_couches\">contexte d'empilement</a>",
666
- "ja": "<a href=\"/ja/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context\">重ね合わせコンテキスト</a>の生成",
667
- "ru": "Создаёт <a href=\"/ru/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context\">контекст наложения</a>"
663
+ "de": "Erstellt <a href=\"/de/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">Stapelkontext</a>",
664
+ "en-US": "Creates <a href=\"/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">stacking context</a>",
665
+ "fr": "Crée un <a href=\"/fr/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">contexte d'empilement</a>",
666
+ "ja": "<a href=\"/ja/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">重ね合わせコンテキスト</a>の生成",
667
+ "ru": "Создаёт <a href=\"/ru/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">контекст наложения</a>"
668
668
  },
669
669
  "dependsOnLayoutModel": {
670
670
  "de": "hängt vom Layoutmodell ab",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [