Skip to content

Commit

Permalink
feat(css): Update synatx for css zoom property (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Feb 24, 2025
1 parent 0ade227 commit 5c57b10
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -10854,18 +10854,18 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/z-index"
},
"zoom": {
"syntax": "normal | reset | <number> | <percentage>",
"syntax": "normal | reset | <number [0,∞]> || <percentage [0,∞]>",
"media": "visual",
"inherited": false,
"animationType": "notAnimatable",
"percentages": "no",
"percentages": "convertedToNumber",
"groups": [
"CSS Viewport"
],
"initial": "normal",
"initial": "1",
"appliesto": "allElements",
"computed": "asSpecified",
"order": "uniqueOrder",
"computed": "asSpecifiedButWithPercentageConvertedToTheEquivalentNumber",
"order": "perGrammar",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/zoom"
}
Expand Down
2 changes: 2 additions & 0 deletions css/properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"percentages": {
"enum": [
"blockSizeOfContainingBlock",
"convertedToNumber",
"dependsOnLayoutModel",
"inlineSizeOfContainingBlock",
"lengthsAsPercentages",
Expand Down Expand Up @@ -126,6 +127,7 @@
"asSpecified",
"asSpecifiedAppliesToEachProperty",
"asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent",
"asSpecifiedButWithPercentageConvertedToTheEquivalentNumber",
"asSpecifiedExceptMatchParent",
"asSpecifiedExceptPositionedFloatingAndRootElementsKeywordMaybeDifferent",
"asSpecifiedRelativeToAbsoluteLengths",
Expand Down
6 changes: 6 additions & 0 deletions l10n/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@
"ca": "com s'especifica, excepte que si {{cssxref(\"overflow-x\")}} o bé {{cssxref(\"overflow-y\")}} són diferents de <code>visible</code> o <code>clip</code>, aquests dos valors computen a <code>auto</code> o <code>hidden</code> respectivament",
"ja": "指定通り、ただし {{cssxref(\"overflow-x\")}} と {{cssxref(\"overflow-y\")}} のどちらかが <code>visible</code> でも </code>clip</code> でもない場合は、 <code>visible</code>/<code>clip</code> はそれぞれ <code>auto</code>/<code>hidden</code> と計算される"
},
"asSpecifiedButWithPercentageConvertedToTheEquivalentNumber": {
"en-US": "as specified, but with {{cssxref(\"&lt;percentage&gt;\")}} converted to the equivalent {{cssxref(\"&lt;number&gt;\")}}"
},
"asSpecifiedExceptMatchParent": {
"de": "wie angegeben, außer für den <code>match-parent</code> Wert, welcher in Bezug auf den <code>direction</code> Wert des Elternelements berechnet wird und einen berechneten Wert von <code>left</code> oder <code>right</code> ergibt",
"en-US": "as specified, except for the <code>match-parent</code> value which is calculated against its parent's <code>direction</code> value and results in a computed value of either <code>left</code> or <code>right</code>",
Expand Down Expand Up @@ -682,6 +685,9 @@
"ja": "連続メディア",
"ru": "продолжительный"
},
"convertedToNumber": {
"en-US": "Converted to {{cssxref(\"&lt;number&gt;\")}}"
},
"createsStackingContext": {
"de": "Erstellt <a href=\"/de/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">Stapelkontext</a>",
"en-US": "Creates <a href=\"/en-US/docs/Web/CSS/CSS_positioned_layout/Understanding_z-index/Stacking_context\">stacking context</a>",
Expand Down

0 comments on commit 5c57b10

Please sign in to comment.