mdn-data 2.3.0 → 2.3.2

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
@@ -509,180 +509,5 @@
509
509
  ],
510
510
  "status": "standard",
511
511
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@supports"
512
- },
513
- "@viewport": {
514
- "syntax": "@viewport {\n <group-rule-body>\n}",
515
- "interfaces": [
516
- "CSSViewportRule"
517
- ],
518
- "groups": [
519
- "CSS Device Adaptation"
520
- ],
521
- "descriptors": {
522
- "height": {
523
- "syntax": "<viewport-length>{1,2}",
524
- "media": [
525
- "visual",
526
- "continuous"
527
- ],
528
- "initial": [
529
- "min-height",
530
- "max-height"
531
- ],
532
- "percentages": [
533
- "min-height",
534
- "max-height"
535
- ],
536
- "computed": [
537
- "min-height",
538
- "max-height"
539
- ],
540
- "order": "orderOfAppearance",
541
- "status": "standard"
542
- },
543
- "max-height": {
544
- "syntax": "<viewport-length>",
545
- "media": [
546
- "visual",
547
- "continuous"
548
- ],
549
- "initial": "auto",
550
- "percentages": "referToHeightOfInitialViewport",
551
- "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
552
- "order": "uniqueOrder",
553
- "status": "standard"
554
- },
555
- "max-width": {
556
- "syntax": "<viewport-length>",
557
- "media": [
558
- "visual",
559
- "continuous"
560
- ],
561
- "initial": "auto",
562
- "percentages": "referToWidthOfInitialViewport",
563
- "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
564
- "order": "uniqueOrder",
565
- "status": "standard"
566
- },
567
- "max-zoom": {
568
- "syntax": "auto | <number> | <percentage>",
569
- "media": [
570
- "visual",
571
- "continuous"
572
- ],
573
- "initial": "auto",
574
- "percentages": "the zoom factor itself",
575
- "computed": "autoNonNegativeOrPercentage",
576
- "order": "uniqueOrder",
577
- "status": "standard"
578
- },
579
- "min-height": {
580
- "syntax": "<viewport-length>",
581
- "media": [
582
- "visual",
583
- "continuous"
584
- ],
585
- "initial": "auto",
586
- "percentages": "referToHeightOfInitialViewport",
587
- "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
588
- "order": "uniqueOrder",
589
- "status": "standard"
590
- },
591
- "min-width": {
592
- "syntax": "<viewport-length>",
593
- "media": [
594
- "visual",
595
- "continuous"
596
- ],
597
- "initial": "auto",
598
- "percentages": "referToWidthOfInitialViewport",
599
- "computed": "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
600
- "order": "uniqueOrder",
601
- "status": "standard"
602
- },
603
- "min-zoom": {
604
- "syntax": "auto | <number> | <percentage>",
605
- "media": [
606
- "visual",
607
- "continuous"
608
- ],
609
- "initial": "auto",
610
- "percentages": "the zoom factor itself",
611
- "computed": "autoNonNegativeOrPercentage",
612
- "order": "uniqueOrder",
613
- "status": "standard"
614
- },
615
- "orientation": {
616
- "syntax": "auto | portrait | landscape",
617
- "media": [
618
- "visual",
619
- "continuous"
620
- ],
621
- "initial": "auto",
622
- "percentages": "referToSizeOfBoundingBox",
623
- "computed": "asSpecified",
624
- "order": "uniqueOrder",
625
- "status": "standard"
626
- },
627
- "user-zoom": {
628
- "syntax": "zoom | fixed",
629
- "media": [
630
- "visual",
631
- "continuous"
632
- ],
633
- "initial": "zoom",
634
- "percentages": "referToSizeOfBoundingBox",
635
- "computed": "asSpecified",
636
- "order": "uniqueOrder",
637
- "status": "standard"
638
- },
639
- "viewport-fit": {
640
- "syntax": "auto | contain | cover",
641
- "media": [
642
- "visual",
643
- "continuous"
644
- ],
645
- "initial": "auto",
646
- "percentages": "no",
647
- "computed": "asSpecified",
648
- "order": "uniqueOrder",
649
- "status": "standard"
650
- },
651
- "width": {
652
- "syntax": "<viewport-length>{1,2}",
653
- "media": [
654
- "visual",
655
- "continuous"
656
- ],
657
- "initial": [
658
- "min-width",
659
- "max-width"
660
- ],
661
- "percentages": [
662
- "min-width",
663
- "max-width"
664
- ],
665
- "computed": [
666
- "min-width",
667
- "max-width"
668
- ],
669
- "order": "orderOfAppearance",
670
- "status": "standard"
671
- },
672
- "zoom": {
673
- "syntax": "auto | <number> | <percentage>",
674
- "media": [
675
- "visual",
676
- "continuous"
677
- ],
678
- "initial": "auto",
679
- "percentages": "the zoom factor itself",
680
- "computed": "autoNonNegativeOrPercentage",
681
- "order": "uniqueOrder",
682
- "status": "standard"
683
- }
684
- },
685
- "status": "standard",
686
- "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@viewport"
687
512
  }
688
513
  }
@@ -4483,7 +4483,7 @@
4483
4483
  "syntax": "visible | auto | hidden",
4484
4484
  "media": "all",
4485
4485
  "inherited": false,
4486
- "animationType": "discreteHiddenSwapAt0",
4486
+ "animationType": "discreteButVisibleForDurationWhenAnimatedHidden",
4487
4487
  "percentages": "no",
4488
4488
  "groups": [
4489
4489
  "CSS Containment"
@@ -4582,7 +4582,7 @@
4582
4582
  "syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",
4583
4583
  "media": "all",
4584
4584
  "inherited": false,
4585
- "animationType": "discreteNoneSwapAt0",
4585
+ "animationType": "discreteButVisibleForDurationWhenAnimatedNone",
4586
4586
  "percentages": "no",
4587
4587
  "groups": [
4588
4588
  "CSS Display"
@@ -7397,7 +7397,7 @@
7397
7397
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline"
7398
7398
  },
7399
7399
  "outline-color": {
7400
- "syntax": "<color> | invert",
7400
+ "syntax": "auto | <color>",
7401
7401
  "media": [
7402
7402
  "visual",
7403
7403
  "interactive"
@@ -7408,9 +7408,9 @@
7408
7408
  "groups": [
7409
7409
  "CSS Basic User Interface"
7410
7410
  ],
7411
- "initial": "invertOrCurrentColor",
7411
+ "initial": "auto",
7412
7412
  "appliesto": "allElements",
7413
- "computed": "invertForTranslucentColorRGBAOtherwiseRGB",
7413
+ "computed": "autoForTranslucentColorRGBAOtherwiseRGB",
7414
7414
  "order": "uniqueOrder",
7415
7415
  "status": "standard",
7416
7416
  "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-color"
@@ -7619,7 +7619,7 @@
7619
7619
  "syntax": "none | auto",
7620
7620
  "media": "visual",
7621
7621
  "inherited": false,
7622
- "animationType": "discreteSwapAt1",
7622
+ "animationType": "discreteButVisibleForDurationWhenAnimatedNone",
7623
7623
  "percentages": "no",
7624
7624
  "groups": [
7625
7625
  "CSS Positioning"
@@ -21,9 +21,8 @@
21
21
  "byComputedValueTypeNormalAnimatesAsObliqueZeroDeg",
22
22
  "color",
23
23
  "discrete",
24
- "discreteHiddenSwapAt0",
25
- "discreteNoneSwapAt0",
26
- "discreteSwapAt1",
24
+ "discreteButVisibleForDurationWhenAnimatedHidden",
25
+ "discreteButVisibleForDurationWhenAnimatedNone",
27
26
  "eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection",
28
27
  "filterList",
29
28
  "fontStretch",
@@ -134,7 +133,7 @@
134
133
  "consistsOfTwoDimensionKeywords",
135
134
  "consistsOfTwoKeywordsForOriginAndOffsets",
136
135
  "forLengthAbsoluteValueOtherwisePercentage",
137
- "invertForTranslucentColorRGBAOtherwiseRGB",
136
+ "autoForTranslucentColorRGBAOtherwiseRGB",
138
137
  "keywordOrNumericalValueBolderLighterTransformedToRealValue",
139
138
  "keywordPlusIntegerIfDigits",
140
139
  "lengthAbsolutePercentageAsSpecifiedOtherwiseAuto",
package/css/syntaxes.json CHANGED
@@ -123,7 +123,7 @@
123
123
  "syntax": "<url>"
124
124
  },
125
125
  "color": {
126
- "syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"
126
+ "syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <light-dark()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"
127
127
  },
128
128
  "color-stop": {
129
129
  "syntax": "<color-stop-length> | <color-stop-angle>"
@@ -425,6 +425,9 @@
425
425
  "length-percentage": {
426
426
  "syntax": "<length> | <percentage>"
427
427
  },
428
+ "light-dark()": {
429
+ "syntax": "light-dark( <color>, <color> )"
430
+ },
428
431
  "line-names": {
429
432
  "syntax": "'[' <custom-ident>* ']'"
430
433
  },
package/l10n/css.json CHANGED
@@ -654,14 +654,11 @@
654
654
  "fr": "discrète",
655
655
  "ja": "離散値"
656
656
  },
657
- "discreteHiddenSwapAt0": {
658
- "en-US": "Discrete behavior but when animating from <code>hidden</code> swaps to end value at progress > 0 rather than 0.5"
657
+ "discreteButVisibleForDurationWhenAnimatedHidden": {
658
+ "en-US": "Discrete behavior except when animating to or from <code>hidden</code> is visible for the entire duration"
659
659
  },
660
- "discreteNoneSwapAt0": {
661
- "en-US": "Discrete behavior but when animating from <code>none</code> swaps to end value at progress > 0 rather than 0.5"
662
- },
663
- "discreteSwapAt1": {
664
- "en-US": "Discrete behavior but swaps to end value at progress 1 rather than 0.5"
660
+ "discreteButVisibleForDurationWhenAnimatedNone": {
661
+ "en-US": "Discrete behavior except when animating to or from <code>none</code> is visible for the entire duration"
665
662
  },
666
663
  "eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection": {
667
664
  "de": "wie jede der Kurzschreibweisen Eigenschaften (alle Eigenschaften außer {{cssxref(\"unicode-bidi\")}} und {{cssxref(\"direction\")}})",
@@ -865,19 +862,12 @@
865
862
  "ja": "対話的",
866
863
  "ru": "интерактивный"
867
864
  },
868
- "invertForTranslucentColorRGBAOtherwiseRGB": {
869
- "de": "Für das Schlüsselwort <code>invert</code> ist der berechnete Wert <code>invert</code>. Für den Farbwert, falls der Wert durchscheinend ist, ist der berechnete Wert der entsprechende <code>rgba()</code> Wert. Falls nicht, ist er der entsprechende <code>rgb()</code> Wert. Das Schlüsselwort <code>transparent</code> wird zu <code>rgba(0,0,0,0)</code>.",
870
- "en-US": "For the keyword <code>invert</code>, the computed value is <code>invert</code>. For the color value, if the value is translucent, the computed value will be the <code>rgba()</code> corresponding one. If it isn't, it will be the <code>rgb()</code> corresponding one. The <code>transparent</code> keyword maps to <code>rgba(0,0,0,0)</code>.",
871
- "fr": "Pour le mot-clé <code>invert</code>, la valeur calculée est <code>invert</code>. Pour la valeur de la couleur, si la valeur est transparente, la valeur calculée sera la valeur <code>rgba()</code> correspondante. S'il n'y en a pas, ce sera la valeur <code>rgb()</code> correspondante. Le mot-clé <code>transparent</code> correspondra à <code>rgba(0,0,0,0)</code>.",
872
- "ja": "キーワード <code>invert</code> の場合は、計算値も <code>invert</code>。色の場合は、半透明であれば、計算値はそれに一致する <code>rbga()</code> で、不透明であれば、それに一致する <code>rgb()</code>。キーワード <code>transparent</code> は <code>rgba(0,0,0,0)</code> に対応付けられる。",
873
- "ru": "Для ключевого слова <code>invert</code>, значение - <code>invert</code>. Для значения цвета, если значение имеет прозрачность, соответственно, значение будет через <code>rgba()</code>. Если это не так, это будет <code>rgb()</code>. Ключевое слово <code>transparent</code> отображается, как <code>rgba(0,0,0,0)</code>."
874
- },
875
- "invertOrCurrentColor": {
876
- "de": "<code>invert</code> für Browser, die es unterstützen, <code>currentColor</code> für die anderen",
877
- "en-US": "<code>invert</code>, for browsers supporting it, <code>currentColor</code> for the other",
878
- "fr": "<code>invert</code>, pour les navigateurs le supportant, <code>currentColor</code> pour les autres",
879
- "ja": "ブラウザーが対応していれば <code>invert</code>、そうでなければ <code>currentColor</code>",
880
- "ru": "<code>invert</code> для браузеров поддерживающих это, <code>currentColor</code> для остальных"
865
+ "autoForTranslucentColorRGBAOtherwiseRGB": {
866
+ "de": "Für das Schlüsselwort <code>auto</code> ist der berechnete Wert <code>currentcolor</code>. Für den Farbwert, falls der Wert durchscheinend ist, ist der berechnete Wert der entsprechende <code>rgba()</code> Wert. Falls nicht, ist er der entsprechende <code>rgb()</code> Wert. Das Schlüsselwort <code>transparent</code> wird zu <code>rgba(0,0,0,0)</code>.",
867
+ "en-US": "For the keyword <code>auto</code>, the computed value is <code>currentcolor</code>. For the color value, if the value is translucent, the computed value will be the <code>rgba()</code> corresponding one. If it isn't, it will be the <code>rgb()</code> corresponding one. The <code>transparent</code> keyword maps to <code>rgba(0,0,0,0)</code>.",
868
+ "fr": "Pour le mot-clé <code>auto</code>, la valeur calculée est <code>currentcolor</code>. Pour la valeur de la couleur, si la valeur est transparente, la valeur calculée sera la valeur <code>rgba()</code> correspondante. S'il n'y en a pas, ce sera la valeur <code>rgb()</code> correspondante. Le mot-clé <code>transparent</code> correspondra à <code>rgba(0,0,0,0)</code>.",
869
+ "ja": "キーワード <code>auto</code> の場合は、計算値も <code>currentcolor</code>。色の場合は、半透明であれば、計算値はそれに一致する <code>rbga()</code> で、不透明であれば、それに一致する <code>rgb()</code>。キーワード <code>transparent</code> は <code>rgba(0,0,0,0)</code> に対応付けられる。",
870
+ "ru": "Для ключевого слова <code>auto</code>, значение - <code>currentcolor</code>. Для значения цвета, если значение имеет прозрачность, соответственно, значение будет через <code>rgba()</code>. Если это не так, это будет <code>rgb()</code>. Ключевое слово <code>transparent</code> отображается, как <code>rgba(0,0,0,0)</code>."
881
871
  },
882
872
  "keywordOrNumericalValueBolderLighterTransformedToRealValue": {
883
873
  "de": "das Schlüsselwort oder der numerische Wert wie angegeben, wobei <code>bolder</code> und <code>lighter</code> in einen realen Wert umgewandelt werden",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdn-data",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Open Web data by the Mozilla Developer Network",
5
5
  "main": "index.js",
6
6
  "files": [