Skip to content

Commit babfffe

Browse files
committed
Add explanation of open issue on the automatic reversing algorithm.
1 parent ba129ef commit babfffe

2 files changed

Lines changed: 42 additions & 3 deletions

File tree

css3-transitions/Overview.html

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
<h1>CSS Transitions</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 21 March 2011</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 March 2011</h2>
3333

3434
<dl>
3535
<dt>This version:
3636

37-
<dd> <a href="http://www.w3.org/TR/2011/ED-css3-transitions-20110321">
37+
<dd> <a href="http://www.w3.org/TR/2011/ED-css3-transitions-20110326">
3838
http://dev.w3.org/csswg/css3-transitions/</a>
39-
<!--http://www.w3.org/TR/2011/WD-css3-transitions-20110321-->
39+
<!--http://www.w3.org/TR/2011/WD-css3-transitions-20110326-->
4040

4141
<dt>Latest version:
4242

@@ -873,6 +873,25 @@ <h2 id=reversing><span class=secno>4. </span> Automatically reversing
873873
for example, if the transition reversing to state A was again interrupted
874874
by a property change to state B.
875875

876+
<p class=issue>Issue: This introduces the concept of reversing a timing
877+
function, which the spec has otherwise resisted doing, and also introduces
878+
a discontinuity between transitions that have almost completed (which get
879+
automatically reversed and thus have their timing function reversed) and
880+
transitions that have fully completed (where the reversal doesn't lead to
881+
the timing function being reversed). An alternative proposal that avoids
882+
this is to follow the normal timing function algorithm, except multiply
883+
the duration (and also shorten any negative delay) by the (output) value
884+
of the transition timing function of the incomplete transition at the time
885+
it was interrupted, and, to account for multiple reverses in sequence, to
886+
divide by the shortening applied to the transition being interrupted. For
887+
more details see this thread: <a
888+
href="http://lists.w3.org/Archives/Public/www-style/2009Nov/thread.html#msg302">November
889+
2009 part</a>, <a
890+
href="http://lists.w3.org/Archives/Public/www-style/2009Dec/thread.html#msg319">December
891+
2009 part</a>, <a
892+
href="http://lists.w3.org/Archives/Public/www-style/2010Jan/thread.html#msg136">January
893+
2010 part</a>.
894+
876895
<h2 id=transition-events-><span class=secno>5. </span> Transition Events</h2>
877896

878897
<p> The completion of a CSS Transition generates a corresponding <a

css3-transitions/Overview.src.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,26 @@ <h2 id="reversing">
835835
again interrupted by a property change to state B.
836836
</p>
837837

838+
<p class="issue">Issue:
839+
This introduces the concept of reversing a timing function,
840+
which the spec has otherwise resisted doing, and also introduces
841+
a discontinuity between transitions that have
842+
almost completed (which get automatically reversed and thus have
843+
their timing function reversed) and transitions that have fully
844+
completed (where the reversal doesn't lead to the timing
845+
function being reversed). An alternative proposal that avoids
846+
this is to follow the normal timing function algorithm, except
847+
multiply the duration (and also shorten any negative delay) by
848+
the (output) value of the transition timing function of the
849+
incomplete transition at the time it was interrupted, and, to
850+
account for multiple reverses in sequence, to divide by the
851+
shortening applied to the transition being interrupted. For
852+
more details see this thread:
853+
<a href="http://lists.w3.org/Archives/Public/www-style/2009Nov/thread.html#msg302">November 2009 part</a>,
854+
<a href="http://lists.w3.org/Archives/Public/www-style/2009Dec/thread.html#msg319">December 2009 part</a>,
855+
<a href="http://lists.w3.org/Archives/Public/www-style/2010Jan/thread.html#msg136">January 2010 part</a>.
856+
</p>
857+
838858
<h2>
839859
Transition Events
840860
</h2>

0 commit comments

Comments
 (0)