Skip to content

Commit 7ffe99e

Browse files
committed
[css-transitions-2] Rework transition-timing-function section
1 parent 12822d1 commit 7ffe99e

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

css-transitions-2/Overview.bs

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ urlPrefix: https://w3c.github.io/web-animations/; type: dfn; spec: web-animation
3636
text: active duration
3737
text: active time
3838
text: animation
39+
text: animation effect
3940
text: animation class
4041
text: animation playback rate
4142
text: current iteration
@@ -63,6 +64,20 @@ spec:css-transitions-1; type:value; text:all
6364
Once the Level 1 specification is closer to complete, it will be merged
6465
with the additions here into a complete level 2 specification.</p>
6566

67+
# Transitions # {#transitions}
68+
69+
## The 'transition-timing-function' Property ## {#transition-timing-function-property}
70+
71+
The 'transition-timing-function' property specifies the [=timing function=]
72+
associated with a transition's [=animation effect=]
73+
(see [[web-animations-1#time-transformations]]).
74+
75+
Note: Unlike CSS animations, the timing function for CSS transitions applies to
76+
the animation effect as opposed to the individual keyframes since this allows
77+
it to be reflected in the <a>transformed progress</a> as used when calculating
78+
the reversing shortening factor.
79+
80+
6681
# Starting of transitions # {#starting}
6782

6883
Associated with each top-level browsing context is a <dfn>current transition
@@ -80,17 +95,6 @@ sub-property that is animatable. The <dfn>expanded transition property
8095
name</dfn> of a transition is the name of the longhand sub-property for which
8196
the transition was generated (e.g. 'border-left-width').
8297

83-
## The transition timing function ## {#transition-timing-function}
84-
85-
When creating a {{KeyframeEffect}} for a transition, the effect's {{EffectTiming/easing}}
86-
option is set to the value of the matching 'transition-timing-function' property,
87-
which must be used by {{AnimationEffect/getComputedTiming()}}.
88-
89-
Note: Unlike CSS animations, the timing function for CSS transitions applies to
90-
the animation effect as opposed to the individual keyframes since this allows
91-
it to be reflected in the <a>transformed progress</a> as used when calculating
92-
the reversing shortening factor.
93-
9498
## Owning element ## {#owning-element-section}
9599

96100
The <dfn>owning element</dfn> of a transition refers to the element or

0 commit comments

Comments
 (0)