Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: descriptions of discrete animation behavior between visible and hidden #690

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4483,7 +4483,7 @@
"syntax": "visible | auto | hidden",
"media": "all",
"inherited": false,
"animationType": "discreteHiddenSwapAt0",
"animationType": "discreteButVisibleForDurationWhenAnimatedHidden",
"percentages": "no",
"groups": [
"CSS Containment"
Expand Down Expand Up @@ -4582,7 +4582,7 @@
"syntax": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",
"media": "all",
"inherited": false,
"animationType": "discreteNoneSwapAt0",
"animationType": "discreteButVisibleForDurationWhenAnimatedNone",
"percentages": "no",
"groups": [
"CSS Display"
Expand Down Expand Up @@ -7598,7 +7598,7 @@
"syntax": "none | auto",
"media": "visual",
"inherited": false,
"animationType": "discreteSwapAt1",
"animationType": "discreteButVisibleForDurationWhenAnimatedNone",
"percentages": "no",
"groups": [
"CSS Positioning"
Expand Down
5 changes: 2 additions & 3 deletions css/properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
"byComputedValueTypeNormalAnimatesAsObliqueZeroDeg",
"color",
"discrete",
"discreteHiddenSwapAt0",
"discreteNoneSwapAt0",
"discreteSwapAt1",
"discreteButVisibleForDurationWhenAnimatedHidden",
"discreteButVisibleForDurationWhenAnimatedNone",
"eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection",
"filterList",
"fontStretch",
Expand Down
11 changes: 4 additions & 7 deletions l10n/css.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,14 +654,11 @@
"fr": "discrète",
"ja": "離散値"
},
"discreteHiddenSwapAt0": {
"en-US": "Discrete behavior but when animating from <code>hidden</code> swaps to end value at progress > 0 rather than 0.5"
"discreteButVisibleForDurationWhenAnimatedHidden": {
"en-US": "Discrete behavior except when animating to or from <code>hidden</code> is visible for the entire duration"
},
"discreteNoneSwapAt0": {
"en-US": "Discrete behavior but when animating from <code>none</code> 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 <code>none</code> is visible for the entire duration"
},
"eachOfShorthandPropertiesExceptUnicodeBiDiAndDirection": {
"de": "wie jede der Kurzschreibweisen Eigenschaften (alle Eigenschaften außer {{cssxref(\"unicode-bidi\")}} und {{cssxref(\"direction\")}})",
Expand Down
Loading