Skip to content

Commit c109e1b

Browse files
committed
[css-transitions-1] Make discrete properties transition at 50%; exclude them from 'all'.
See w3c#4441
1 parent b4d9176 commit c109e1b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

css-transitions-2/Overview.bs

+21
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,33 @@ spec:web-animations-1; type:dfn;
7272

7373
## The 'transition-property' Property ## {#transition-name-property}
7474

75+
ISSUE: Insert text from [[css-transitions-1#transition-property-property]]
76+
and backport the following paragraph.
77+
7578
Although the 'transition-property' may specify shorthand properties and the
7679
''all'' keyword, individual transitions are generated for each longhand
7780
sub-property that is animatable. The <dfn>expanded transition property
7881
name</dfn> of a transition is the name of the longhand sub-property for which
7982
the transition was generated (e.g. 'border-left-width').
8083

84+
ISSUE: Update the defining instance of [=transitionable=]
85+
once it is ported from Level 1.
86+
87+
In CSS Transitions Level 2,
88+
property values are [=transitionable=]
89+
<em>unless</em> they have an [=animation type=] that is [=not animatable=].
90+
Values with a [=discrete=] [=animation type=] <em>are</em> [=transitionable=],
91+
and flip at 50% progress (<var>p</var> = 0.5).
92+
93+
However, the ''transition-property/all'' keyword
94+
continues to expand only to all [=transitionable=] properties
95+
whose [=animation type=] is not [=discrete=].
96+
97+
Note: This is for compatibility with CSS Transitions Level 1
98+
(and because authors will rarely want [=discrete=] properties to transition at 50% by default).
99+
Note this means that the ''tranisition-property/all'' keyword here
100+
maps to a subset of the 'all' [=shorthand property=]’s [=longhand properties=].
101+
81102
## The 'transition-duration' Property ## {#transition-duration-property}
82103

83104
The 'transition-duration' property specifies the [=iteration duration=]

0 commit comments

Comments
 (0)