Tue, 10 Sep 2013 11:30:26 +0200
[css-transitions] Add a note explaining that transitions run whether or not they are overridden.
This implements the remainder of part E of the proposal in
http://lists.w3.org/Archives/Public/www-style/2013Mar/0297.html
as resolved in
http://lists.w3.org/Archives/Public/www-style/2013Jun/0682.html
css-transitions/Overview.html | file | annotate | diff | comparison | revisions | |
css-transitions/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css-transitions/Overview.html Tue Sep 10 11:30:26 2013 +0200 1.2 +++ b/css-transitions/Overview.html Tue Sep 10 11:30:26 2013 +0200 1.3 @@ -1084,6 +1084,13 @@ 1.4 rel=biblioentry>[CSS3-ANIMATIONS]<!--{{CSS3-ANIMATIONS}}--></a>) on the 1.5 same element. 1.6 1.7 + <p class=note> Note that this behavior of transitions not applying to the 1.8 + cascade when an animation on the same element and property is running does 1.9 + not affect whether the transition has started or ended. APIs that detect 1.10 + whether transitions are running (such as <a 1.11 + href="#transition-events">transition events</a>) still report that a 1.12 + transition is running. 1.13 + 1.14 <p> If the current time is at or before the <a href="#start-time">start 1.15 time</a> of the transition (that is, during the delay phase of the 1.16 transition), this value is a specified style that will compute to the 1.17 @@ -1761,7 +1768,8 @@ 1.18 <a href="#style-change-event">style change event</a>. 1.19 1.20 <li>Define that a CSS transition for a property does not affect computed 1.21 - style when a CSS Animation for the same property is running. 1.22 + style when a CSS Animation for the same property is running, but that 1.23 + the transition is still running in terms of APIs. 1.24 1.25 <li>Add a note pointing out that the above definitions imply that 1.26 transitions can start simultaneously, from the same change, on
2.1 --- a/css-transitions/Overview.src.html Tue Sep 10 11:30:26 2013 +0200 2.2 +++ b/css-transitions/Overview.src.html Tue Sep 10 11:30:26 2013 +0200 2.3 @@ -1103,6 +1103,15 @@ 2.4 undergoing a CSS Animation ([[CSS3-ANIMATIONS]]) on the same element. 2.5 </p> 2.6 2.7 + <p class="note"> 2.8 + Note that this behavior of transitions not applying to the cascade 2.9 + when an animation on the same element and property is running 2.10 + does not affect whether the transition has started or ended. 2.11 + APIs that detect whether transitions are running 2.12 + (such as <a href="#transition-events">transition events</a>) 2.13 + still report that a transition is running. 2.14 + </p> 2.15 + 2.16 <p> 2.17 If the current time is at or before the 2.18 <span>start time</span> of the transition 2.19 @@ -1717,7 +1726,7 @@ 2.20 <li>Define the model for starting of transitions and their interaction with other animations more precisely: 2.21 <ul> 2.22 <li>Define the <span>before-change style</span> and <span>after-change style</span> used for the style comparison, using the new concept of a <span>style change event</span>. 2.23 - <li>Define that a CSS transition for a property does not affect computed style when a CSS Animation for the same property is running. 2.24 + <li>Define that a CSS transition for a property does not affect computed style when a CSS Animation for the same property is running, but that the transition is still running in terms of APIs. 2.25 <li>Add a note pointing out that the above definitions imply that transitions can start simultaneously, from the same change, on ancestors and descendants. 2.26 <li>Define that CSS transitions participate in CSS's cascading and inheritance model 2.27 </ul>