Skip to content

Commit f5feafb

Browse files
committed
transition-interrupt
1 parent e2d7fe7 commit f5feafb

File tree

1 file changed

+46
-11
lines changed

1 file changed

+46
-11
lines changed

css-transitions-1/Overview.bs

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,40 @@ Value Definitions {#values}
376376
Animation type: not animatable
377377
</pre>
378378

379+
<span id="the-transition-interrupt-property-">The 'transition-interrupt' Property</span> {#transition-interrupt-property}
380+
-------------------------------------------------------------------------------------------------------------
381+
382+
<p>
383+
The 'transition-interrupt' property specifies if relative conversion of values and accumulative compositing should be used.
384+
</p>
385+
<pre class="propdef">
386+
Name: transition-interrupt
387+
Value: <<single-transition-interrupt>>#
388+
Initial: regular
389+
Applies to: all elements
390+
Inherited: no
391+
Percentages: N/A
392+
Computed value: as specified
393+
Animation type: not animatable
394+
</pre>
395+
<dfn>&lt;single-transition-interrupt></dfn> = regular | special
396+
<dl dfn-type=value dfn-for=transition-interrupt>
397+
<dt><dfn>regular</dfn>
398+
<dd>
399+
If this property is set to ''regular'',
400+
interruption of an in-progress transition is
401+
handled by replacing the previous with a new
402+
transition that begins where the previous left off.
403+
<dt><dfn>special</dfn>
404+
<dd>
405+
If this property is set to ''special'',
406+
interruption of an in-progress transition
407+
is handled by blending together existing
408+
transitions with a new one, using
409+
accumulative compositing of relative values.
410+
</dl>
411+
412+
379413
<span id="the-transition-shorthand-property-">The 'transition' Shorthand Property</span> {#transition-shorthand-property}
380414
-------------------------------------------------------------------------------------------------------------------------
381415

@@ -655,8 +689,8 @@ Starting of transitions {#starting}
655689
<li>
656690
the element does not have a <a>completed transition</a>
657691
for the property
658-
or the <a>end value</a> of the <a>completed transition</a>
659-
is different from the <a>after-change style</a> for the property,
692+
with an <a>end value</a>
693+
the same as the <a>after-change style</a> for the property,
660694
</li>
661695
<li>
662696
there is a <a>matching transition-property value</a>, and
@@ -666,7 +700,8 @@ Starting of transitions {#starting}
666700
</li>
667701
</ul>
668702
then implementations must
669-
remove the <a>completed transition</a> (if present) from the set
703+
remove all <a>completed transitions</a>
704+
for the property (if present) from the set
670705
of completed transitions and
671706
start a transition whose:
672707
<ul>
@@ -700,21 +735,21 @@ Starting of transitions {#starting}
700735
</li>
701736
<li>
702737
Otherwise,
703-
if the element has a <a>completed transition</a> for the property
704-
and the <a>end value</a> of the <a>completed transition</a>
705-
is different from the <a>after-change style</a> for the property,
738+
if the element has any <a>completed transition</a> for the property
739+
with an <a>end value</a> of the <a>completed transition</a>
740+
different from the <a>after-change style</a> for the property,
706741
then implementations must
707-
remove the <a>completed transition</a> from the set of
742+
remove those <a>completed transitions</a> from the set of all
708743
<a>completed transitions</a>.
709744
</li>
710745
<li>
711-
If the element has a <a>running transition</a> or
712-
<a>completed transition</a> for the property,
746+
If the element has any <a>running transitions</a> or
747+
<a>completed transitions</a> for the property,
713748
and there is <strong>not</strong>
714749
a <a>matching transition-property value</a>,
715750
then implementations must
716-
<a>cancel</a> the <a>running transition</a>
717-
or remove the <a>completed transition</a> from the set of
751+
<a>cancel</a> the <a>running transitions</a>
752+
or remove the <a>completed transitions</a> from the set of all
718753
<a>completed transitions</a>.
719754
</li>
720755
<li>

0 commit comments

Comments
 (0)