css-transitions/Overview.bs

changeset 15195
53d3e83da4ce
parent 15193
2b03ee33c2f1
child 15196
9b1e0abcb7a9
     1.1 --- a/css-transitions/Overview.bs	Tue Feb 10 20:51:33 2015 -0500
     1.2 +++ b/css-transitions/Overview.bs	Wed Feb 11 13:10:43 2015 +1100
     1.3 @@ -533,6 +533,13 @@
     1.4          </span>
     1.5        </p>
     1.6  
     1.7 +      <p>
     1.8 +        If an element is no longer in the document,
     1.9 +        implementations must remove transitions on it
    1.10 +        from the <a>running transitions</a> and the
    1.11 +        <a>completed transitions</a>.
    1.12 +      </p>
    1.13 +
    1.14        <div class="note">
    1.15  
    1.16          <p>
    1.17 @@ -564,9 +571,6 @@
    1.18        <p>
    1.19          Various things can cause the computed style of an element to change,
    1.20          or for an element to start or stop having computed style.
    1.21 -        (For the purposes of this specification,
    1.22 -        an element has computed style when it is in the document tree,
    1.23 -        and does not have computed style when it is not in the document tree.)
    1.24          These include
    1.25          insertion and removal of elements from the document tree
    1.26          (which both changes whether those elements have computed styles and
    1.27 @@ -587,6 +591,8 @@
    1.28          However,
    1.29          when an implementation updates the computed style for an element
    1.30          to reflect one of these changes,
    1.31 +        or computes the computed style for an element
    1.32 +        newly added to the document,
    1.33          it must update the computed style for all elements to reflect all
    1.34          of these changes at the same time
    1.35          (or at least it must be undetectable that it was done at a
    1.36 @@ -614,8 +620,9 @@
    1.37          When a <a>style change event</a> occurs,
    1.38          implementations must start transitions based on
    1.39          the computed styles that changed in that event.
    1.40 -        If an element does not have a computed style
    1.41 -        either before or after the style change event,
    1.42 +        If an element is not in the document during that
    1.43 +        style change even or was not in the document during
    1.44 +        the previous style change event,
    1.45          then transitions are not started for that element
    1.46          in that style change event.
    1.47          Otherwise,

mercurial