From 50c736281f8decca1e20d21efaf2037e3392e29d Mon Sep 17 00:00:00 2001
From: Brian Birtles
Date: Mon, 31 Jul 2017 15:38:58 +0200
Subject: [PATCH] Clarify that the after-change style does not include updates
to CSS Animations
This addresses issue #679.
---
css-transitions/Overview.bs | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/css-transitions/Overview.bs b/css-transitions/Overview.bs
index 6ef9ee688ac..c163fe8e8ff 100644
--- a/css-transitions/Overview.bs
+++ b/css-transitions/Overview.bs
@@ -567,7 +567,7 @@ Starting of transitions {#starting}
implementations must start transitions based on
the computed values that changed in that event.
If an element is not in the document during that
- style change even or was not in the document during
+ style change event or was not in the document during
the previous style change event,
then transitions are not started for that element
in that style change event.
@@ -584,9 +584,14 @@ Starting of transitions {#starting}
the computed values of all properties
on the element based on the information
known at the start of that style change event,
- but excluding any styles from CSS Transitions in the computation,
+ but using the computed values of the 'animation-*' properties from the
+ before-change style,
+ excluding any styles from CSS Transitions in the computation,
and inheriting from
the after-change style of the parent.
+ Note that this means the after-change style does not differ from
+ the before-change style due to newly created or cancelled CSS
+ Animations.