mdn-data 2.4.2 → 2.6.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
@@ -417,6 +417,17 @@
417
417
  "status": "standard",
418
418
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@page"
419
419
  },
420
+ "@position-try": {
421
+ "syntax": "@position-try <dashed-ident> {\n <declaration-list>\n}",
422
+ "interfaces": [
423
+ "CSSPositionTryRule"
424
+ ],
425
+ "groups": [
426
+ "CSS Positioning"
427
+ ],
428
+ "status": "experimental",
429
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@position-try"
430
+ },
420
431
  "@property": {
421
432
  "syntax": "@property <custom-property-name> {\n <declaration-list>\n}",
422
433
  "interfaces": [
@@ -1,4 +1,20 @@
1
1
  {
2
+ "anchor()": {
3
+ "syntax": "anchor( <anchor-element>? <anchor-side>, <length-percentage>? )",
4
+ "groups": [
5
+ "CSS Positioning"
6
+ ],
7
+ "status": "experimental",
8
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor"
9
+ },
10
+ "anchor-size()": {
11
+ "syntax": "anchor-size( <anchor-element>? <anchor-size>, <length-percentage>? )",
12
+ "groups": [
13
+ "CSS Positioning"
14
+ ],
15
+ "status": "experimental",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-size"
17
+ },
2
18
  "attr()": {
3
19
  "syntax": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )",
4
20
  "groups": [
@@ -1713,7 +1713,7 @@
1713
1713
  "CSS Box Alignment"
1714
1714
  ],
1715
1715
  "initial": "normal",
1716
- "appliesto": "multilineFlexContainers",
1716
+ "appliesto": "blockContainersMultiColumnContainersFlexContainersGridContainers",
1717
1717
  "computed": "asSpecified",
1718
1718
  "order": "uniqueOrder",
1719
1719
  "status": "standard",
@@ -1783,6 +1783,38 @@
1783
1783
  "status": "standard",
1784
1784
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/all"
1785
1785
  },
1786
+ "anchor-name": {
1787
+ "syntax": "none | <dashed-ident>#",
1788
+ "media": "visual",
1789
+ "inherited": false,
1790
+ "animationType": "discrete",
1791
+ "percentages": "no",
1792
+ "groups": [
1793
+ "CSS Positioning"
1794
+ ],
1795
+ "initial": "none",
1796
+ "appliesto": "allElementsThatGenerateAPrincipalBox",
1797
+ "computed": "asSpecified",
1798
+ "order": "perGrammar",
1799
+ "status": "experimental",
1800
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-name"
1801
+ },
1802
+ "anchor-scope": {
1803
+ "syntax": "none | all | <dashed-ident>#",
1804
+ "media": "visual",
1805
+ "inherited": false,
1806
+ "animationType": "discrete",
1807
+ "percentages": "no",
1808
+ "groups": [
1809
+ "CSS Positioning"
1810
+ ],
1811
+ "initial": "none",
1812
+ "appliesto": "allElements",
1813
+ "computed": "asSpecified",
1814
+ "order": "perGrammar",
1815
+ "status": "experimental",
1816
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-scope"
1817
+ },
1786
1818
  "animation": {
1787
1819
  "syntax": "<single-animation>#",
1788
1820
  "media": "visual",
@@ -6002,6 +6034,22 @@
6002
6034
  "status": "standard",
6003
6035
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset"
6004
6036
  },
6037
+ "inset-area": {
6038
+ "syntax": "none | <inset-area>",
6039
+ "media": "visual",
6040
+ "inherited": false,
6041
+ "animationType": "discrete",
6042
+ "percentages": "no",
6043
+ "groups": [
6044
+ "CSS Positioning"
6045
+ ],
6046
+ "initial": "none",
6047
+ "appliesto": "positionedElementsWithADefaultAnchorElement",
6048
+ "computed": "asSpecified",
6049
+ "order": "perGrammar",
6050
+ "status": "experimental",
6051
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/inset-area"
6052
+ },
6005
6053
  "inset-block": {
6006
6054
  "syntax": "<'top'>{1,2}",
6007
6055
  "media": "visual",
@@ -8142,6 +8190,95 @@
8142
8190
  "status": "standard",
8143
8191
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position"
8144
8192
  },
8193
+ "position-anchor": {
8194
+ "syntax": "<anchor-element>",
8195
+ "media": "visual",
8196
+ "inherited": false,
8197
+ "animationType": "discrete",
8198
+ "percentages": "no",
8199
+ "groups": [
8200
+ "CSS Positioning"
8201
+ ],
8202
+ "initial": "implicit",
8203
+ "appliesto": "absolutelyPositionedElements",
8204
+ "computed": "asSpecified",
8205
+ "order": "perGrammar",
8206
+ "status": "experimental",
8207
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-anchor"
8208
+ },
8209
+ "position-try": {
8210
+ "syntax": "<'position-try-order'>? <'position-try-options'>",
8211
+ "media": "visual",
8212
+ "inherited": false,
8213
+ "animationType": [
8214
+ "position-try-options",
8215
+ "position-try-order"
8216
+ ],
8217
+ "percentages": "no",
8218
+ "groups": [
8219
+ "CSS Positioning"
8220
+ ],
8221
+ "initial": [
8222
+ "position-try-options",
8223
+ "position-try-order"
8224
+ ],
8225
+ "appliesto": "absolutelyPositionedElements",
8226
+ "computed": [
8227
+ "position-try-options",
8228
+ "position-try-order"
8229
+ ],
8230
+ "order": "perGrammar",
8231
+ "status": "experimental",
8232
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try"
8233
+ },
8234
+ "position-try-options": {
8235
+ "syntax": "none | [ [<dashed-ident> || <try-tactic>] | inset-area( <'inset-area'> ) ]#",
8236
+ "media": "visual",
8237
+ "inherited": false,
8238
+ "animationType": "discrete",
8239
+ "percentages": "no",
8240
+ "groups": [
8241
+ "CSS Positioning"
8242
+ ],
8243
+ "initial": "none",
8244
+ "appliesto": "absolutelyPositionedElements",
8245
+ "computed": "asSpecified",
8246
+ "order": "perGrammar",
8247
+ "status": "experimental",
8248
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try-options"
8249
+ },
8250
+ "position-try-order": {
8251
+ "syntax": "normal | <try-size>",
8252
+ "media": "visual",
8253
+ "inherited": false,
8254
+ "animationType": "discrete",
8255
+ "percentages": "no",
8256
+ "groups": [
8257
+ "CSS Positioning"
8258
+ ],
8259
+ "initial": "normal",
8260
+ "appliesto": "absolutelyPositionedElements",
8261
+ "computed": "asSpecified",
8262
+ "order": "perGrammar",
8263
+ "status": "experimental",
8264
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-try-order"
8265
+ },
8266
+ "position-visibility": {
8267
+ "syntax": "always | [ anchors-valid || anchors-visible || no-overflow ]",
8268
+ "media": "visual",
8269
+ "inherited": false,
8270
+ "animationType": "discrete",
8271
+ "percentages": "no",
8272
+ "groups": [
8273
+ "CSS Positioning"
8274
+ ],
8275
+ "initial": "anchors-visible",
8276
+ "appliesto": "absolutelyPositionedElements",
8277
+ "computed": "asSpecified",
8278
+ "order": "perGrammar",
8279
+ "status": "experimental",
8280
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position-visibility"
8281
+ },
8145
8282
  "print-color-adjust": {
8146
8283
  "syntax": "economy | exact",
8147
8284
  "media": "visual",
@@ -9513,6 +9650,38 @@
9513
9650
  "status": "standard",
9514
9651
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap"
9515
9652
  },
9653
+ "text-wrap-mode": {
9654
+ "syntax": "auto | wrap | nowrap",
9655
+ "media": "visual",
9656
+ "inherited": true,
9657
+ "animationType": "discrete",
9658
+ "percentages": "no",
9659
+ "groups": [
9660
+ "CSS Text"
9661
+ ],
9662
+ "initial": "wrap",
9663
+ "appliesto": "textAndBlockContainers",
9664
+ "computed": "asSpecified",
9665
+ "order": "perGrammar",
9666
+ "status": "standard",
9667
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode"
9668
+ },
9669
+ "text-wrap-style": {
9670
+ "syntax": "auto | balance | stable | pretty",
9671
+ "media": "visual",
9672
+ "inherited": true,
9673
+ "animationType": "discrete",
9674
+ "percentages": "no",
9675
+ "groups": [
9676
+ "CSS Text"
9677
+ ],
9678
+ "initial": "auto",
9679
+ "appliesto": "textAndBlockContainers",
9680
+ "computed": "asSpecified",
9681
+ "order": "perGrammar",
9682
+ "status": "standard",
9683
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap-style"
9684
+ },
9516
9685
  "timeline-scope": {
9517
9686
  "syntax": "none | <dashed-ident>#",
9518
9687
  "media": "interactive",
@@ -190,6 +190,7 @@
190
190
  "allElementsSVGContainerElements",
191
191
  "allElementsSVGContainerGraphicsAndGraphicsReferencingElements",
192
192
  "allElementsThatCanReferenceImages",
193
+ "allElementsThatGenerateAPrincipalBox",
193
194
  "allElementsTreeAbidingPseudoElementsPageMarginBoxes",
194
195
  "allElementsUAsNotRequiredWhenCollapse",
195
196
  "anyElementEffectOnProgressAndMeter",
@@ -200,6 +201,7 @@
200
201
  "blockContainersExceptMultiColumnContainers",
201
202
  "blockContainersExceptTableWrappers",
202
203
  "blockContainersFlexContainersGridContainers",
204
+ "blockContainersMultiColumnContainersFlexContainersGridContainers",
203
205
  "blockElementsInNormalFlow",
204
206
  "blockLevelElements",
205
207
  "blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems",
@@ -242,6 +244,7 @@
242
244
  "nonReplacedElements",
243
245
  "nonReplacedInlineElements",
244
246
  "positionedElements",
247
+ "positionedElementsWithADefaultAnchorElement",
245
248
  "replacedElements",
246
249
  "rubyAnnotationsContainers",
247
250
  "rubyBasesAnnotationsBaseAnnotationContainers",
package/l10n/css.json CHANGED
@@ -244,6 +244,9 @@
244
244
  "ja": "すべての要素。ただし一部の値はインラインでない要素には効果がありません",
245
245
  "ru": "все элементы, хотя некоторые значения не работают на не строчных элементах"
246
246
  },
247
+ "allElementsThatGenerateAPrincipalBox": {
248
+ "en-US": "All elements that generate a <a href=\"https://drafts.csswg.org/css-display-4/#principal-box\">principal box</a>"
249
+ },
247
250
  "allElementsTreeAbidingPseudoElementsPageMarginBoxes": {
248
251
  "ja": "すべての要素、ツリーに現れる擬似要素、ページのマージンボックス",
249
252
  "en-US": "All elements, tree-abiding pseudo-elements, and page margin boxes"
@@ -1216,6 +1219,9 @@
1216
1219
  "ja": "<a href=\"/en-US/docs/Web/CSS/position_value#interpolation\" title=\"<position> データ型の値は、横軸と縦軸に対して個別に補間されます。速度は両方とも同じ <easing-function> で定義されているので、点は線に沿って移動します。\">position</a>",
1217
1220
  "ru": "<a href=\"/ru/docs/Web/CSS/position_value#interpolation\" title=\"Значении типа данных <позиция> интерполизуются независимо как абсцисса или ордината. Скорость определяется по одной <временной функции> для обоих координат, точка будет двигаться следуя линии.\">позиция</a>"
1218
1221
  },
1222
+ "positionedElementsWithADefaultAnchorElement": {
1223
+ "en-US": "Positioned elements with a <a href=\"https://drafts.csswg.org/css-anchor-position-1/#default-anchor-element\">default anchor element</a>"
1224
+ },
1219
1225
  "positionedElements": {
1220
1226
  "de": "positionierte Elemente",
1221
1227
  "en-US": "positioned elements",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "2.4.2",
3
+ "version": "2.6.0",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [
package/css/README.md DELETED
@@ -1,40 +0,0 @@
1
- # MDN CSS data
2
-
3
- This folder contains data about the different features of the [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) language.
4
-
5
- ## How to update the CSS JSON DB
6
-
7
- A guide to making changes is provided in the [How to update the CSS JSON DB](../docs/updating_css_json.md) document.
8
-
9
- ## Different types of CSS data
10
-
11
- The CSS data is split into these parts:
12
-
13
- - **at-rules**:
14
- [data](https://github.com/mdn/data/blob/main/css/at-rules.json) |
15
- [schema](https://github.com/mdn/data/blob/main/css/at-rules.schema.json) |
16
- [docs](https://github.com/mdn/data/blob/main/css/at-rules.md)
17
- - **functions**:
18
- [data](https://github.com/mdn/data/blob/main/css/functions.json) |
19
- [schema](https://github.com/mdn/data/blob/main/css/functions.schema.json) |
20
- [docs](https://github.com/mdn/data/blob/main/css/functions.md)
21
- - **properties**:
22
- [data](https://github.com/mdn/data/blob/main/css/properties.json) |
23
- [schema](https://github.com/mdn/data/blob/main/css/properties.schema.json) |
24
- [docs](https://github.com/mdn/data/blob/main/css/properties.md)
25
- - **selectors**:
26
- [data](https://github.com/mdn/data/blob/main/css/selectors.json) |
27
- [schema](https://github.com/mdn/data/blob/main/css/selectors.schema.json) |
28
- [docs](https://github.com/mdn/data/blob/main/css/selectors.md)
29
- - **syntaxes**:
30
- [data](https://github.com/mdn/data/blob/main/css/syntaxes.json) |
31
- [schema](https://github.com/mdn/data/blob/main/css/syntaxes.schema.json) |
32
- [docs](https://github.com/mdn/data/blob/main/css/syntaxes.md)
33
- - **types**:
34
- [data](https://github.com/mdn/data/blob/main/css/types.json) |
35
- [schema](https://github.com/mdn/data/blob/main/css/types.schema.json) |
36
- [docs](https://github.com/mdn/data/blob/main/css/types.md)
37
- - **units**:
38
- [data](https://github.com/mdn/data/blob/main/css/units.json) |
39
- [schema](https://github.com/mdn/data/blob/main/css/units.schema.json) |
40
- [docs](https://github.com/mdn/data/blob/main/css/units.md)