Skip to content

Commit 15af0e1

Browse files
authored
Clarify that the after-change style does not include updates to CSS Animations (w3c#1666)
This closes w3c#679.
1 parent 773d313 commit 15af0e1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

css-transitions/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ Starting of transitions {#starting}
567567
implementations must start transitions based on
568568
the <a>computed values</a> that changed in that event.
569569
If an element is not in the document during that
570-
style change even or was not in the document during
570+
style change event or was not in the document during
571571
the previous style change event,
572572
then transitions are not started for that element
573573
in that style change event.
@@ -584,9 +584,14 @@ Starting of transitions {#starting}
584584
the <a>computed values</a> of all properties
585585
on the element based on the information
586586
known at the start of that <a>style change event</a>,
587-
but excluding any styles from CSS Transitions in the computation,
587+
but using the computed values of the 'animation-*' properties from the
588+
<a>before-change style</a>,
589+
excluding any styles from CSS Transitions in the computation,
588590
and inheriting from
589591
the <a>after-change style</a> of the parent.
592+
Note that this means the <a>after-change style</a> does not differ from
593+
the <a>before-change style</a> due to newly created or cancelled CSS
594+
Animations.
590595
</p>
591596

592597
<div class="note">

0 commit comments

Comments
 (0)