Skip to content

Commit 8170522

Browse files
committed
[css-transitions-2] Clarify about reversing parameters interaction with Web Animations API
1 parent 33f7db5 commit 8170522

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-transitions-2/Overview.bs

+10
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ on the {{CSSTransition}} object representing a [=running transition=]
129129
does <em>not</em> cause the transition to be disassociated
130130
from its [=owning element=].
131131

132+
## Faster reversing of interrupted transitions ## {#reversing}
133+
134+
The [=reversing shortening factor=] and [=reversing-adjusted start value=]
135+
associated with a transition in order to produce correct reverse behavior,
136+
are associated with the transition itself and not, for example,
137+
its [=animation effect=].
138+
As a result, transitions will use these same values when producing a
139+
reversed transition, even if the transition's associated [=animation effect=]
140+
has been updated or replaced using the Web Animations API [[WEB-ANIMATIONS]].
141+
132142
## The current transition generation ## {#current-transition-generation-section}
133143

134144
Associated with each top-level browsing context is a <dfn>current transition

0 commit comments

Comments
 (0)