diff --git a/css/properties.json b/css/properties.json index 0334ff3ce..451bc12d3 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4483,7 +4483,7 @@ "syntax": "visible | auto | hidden", "media": "all", "inherited": false, - "animationType": "discreteHiddenSwapAt0", + "animationType": "discreteButVisibleForDurationWhenAnimatedHidden", "percentages": "no", "groups": [ "CSS Containment" @@ -4582,7 +4582,7 @@ "syntax": "[ || ] | | | | ", "media": "all", "inherited": false, - "animationType": "discreteNoneSwapAt0", + "animationType": "discreteButVisibleForDurationWhenAnimatedNone", "percentages": "no", "groups": [ "CSS Display" @@ -7619,7 +7619,7 @@ "syntax": "none | auto", "media": "visual", "inherited": false, - "animationType": "discreteSwapAt1", + "animationType": "discreteButVisibleForDurationWhenAnimatedNone", "percentages": "no", "groups": [ "CSS Positioning" diff --git a/css/properties.schema.json b/css/properties.schema.json index e29479e98..cebf15ff4 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -21,9 +21,8 @@ "byComputedValueTypeNormalAnimatesAsObliqueZeroDeg", "color", "discrete", - "discreteHiddenSwapAt0", - "discreteNoneSwapAt0", - "discreteSwapAt1", + "discreteButVisibleForDurationWhenAnimatedHidden", + "discreteButVisibleForDurationWhenAnimatedNone", "eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection", "filterList", "fontStretch", diff --git a/l10n/css.json b/l10n/css.json index c60b62f1c..ef895f86f 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -654,14 +654,11 @@ "fr": "discrète", "ja": "離散値" }, - "discreteHiddenSwapAt0": { - "en-US": "Discrete behavior but when animating from hidden swaps to end value at progress > 0 rather than 0.5" + "discreteButVisibleForDurationWhenAnimatedHidden": { + "en-US": "Discrete behavior except when animating to or from hidden is visible for the entire duration" }, - "discreteNoneSwapAt0": { - "en-US": "Discrete behavior but when animating from none swaps to end value at progress > 0 rather than 0.5" - }, - "discreteSwapAt1": { - "en-US": "Discrete behavior but swaps to end value at progress 1 rather than 0.5" + "discreteButVisibleForDurationWhenAnimatedNone": { + "en-US": "Discrete behavior except when animating to or from none is visible for the entire duration" }, "eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection": { "de": "wie jede der Kurzschreibweisen Eigenschaften (alle Eigenschaften außer {{cssxref(\"unicode-bidi\")}} und {{cssxref(\"direction\")}})",