[css-transitions] Revert the change adding the concept of after-transition style, since I believe the problem it was intended to solve did not exist, and it just made things worse.

Tue, 20 Jan 2015 12:23:45 -0800

author
L. David Baron <dbaron@dbaron.org>
date
Tue, 20 Jan 2015 12:23:45 -0800
changeset 15053
63d260624a6d
parent 15052
073154df943b
child 15054
b32448226c1d

[css-transitions] Revert the change adding the concept of after-transition style, since I believe the problem it was intended to solve did not exist, and it just made things worse.

I intend to post to www-style with more details within a few days.

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	Mon Jan 19 22:10:05 2015 -0500
     1.2 +++ b/css-transitions/Overview.html	Tue Jan 20 12:23:45 2015 -0800
     1.3 @@ -10,7 +10,7 @@
     1.4     rel=dcterms.rights>
     1.5    <meta content="CSS Transitions" name=dcterms.title>
     1.6    <meta content=text name=dcterms.type>
     1.7 -  <meta content=2014-12-28 name=dcterms.date>
     1.8 +  <meta content=2015-01-20 name=dcterms.date>
     1.9    <meta content="L. David Baron" name=dcterms.creator>
    1.10    <meta content=W3C name=dcterms.publisher>
    1.11    <meta content="http://dev.w3.org/csswg/css3-transitions/"
    1.12 @@ -40,7 +40,7 @@
    1.13  
    1.14     <h1>CSS Transitions</h1>
    1.15  
    1.16 -   <h2 class="no-num no-toc">Editor's Draft 28 December 2014</h2>
    1.17 +   <h2 class="no-num no-toc">Editor's Draft 20 January 2015</h2>
    1.18  
    1.19     <dl>
    1.20      <dt>This version:
    1.21 @@ -107,7 +107,7 @@
    1.22     <!--begin-copyright-->
    1.23     <p class=copyright><a
    1.24      href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
    1.25 -    rel=license>Copyright</a> © 2014 <a href="http://www.w3.org/"><abbr
    1.26 +    rel=license>Copyright</a> © 2015 <a href="http://www.w3.org/"><abbr
    1.27      title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
    1.28      href="http://www.csail.mit.edu/"><abbr
    1.29      title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
    1.30 @@ -937,32 +937,8 @@
    1.31     id=after-change-style>after-change style</dfn> as the computed style for
    1.32     the element based on the information known at the start of that <a
    1.33     href="#style-change-event">style change event</a>, but excluding any
    1.34 -   styles from CSS Transitions in the computation, and inheriting from the
    1.35 -   <span>after-transition style of the parent. <span class=note>(Note that
    1.36 -   inheriting from the <a href="#after-transition-style">after-transition
    1.37 -   style</a> of the parent is needed to ensure that transitions are canceled
    1.38 -   properly when an ancestor and descendant are running transitions on the
    1.39 -   same inherited property.)</span> Finally, define the <dfn
    1.40 -   id=after-transition-style>after-transition style</dfn> as the computed
    1.41 -   style for the element based on the information known at the start of that
    1.42 -   <a href="#style-change-event">style change event</a>, excluding any styles
    1.43 -   from CSS Transitions that are started or stopped during that <a
    1.44 -   href="#style-change-event">style change event</a>, but including any
    1.45 -   styles from CSS Transitions that exist before the <a
    1.46 -   href="#style-change-event">style change event</a> and are not stopped
    1.47 -   during it (these are defined below), also inheriting from the <a
    1.48 -   href="#after-transition-style">after-transition style</a> of the parent.
    1.49 -   </span>
    1.50 -
    1.51 -  <p class=note> Note that the <span>after-change style and the <a
    1.52 -   href="#after-transition-style">after-transition style</a> both exclude any
    1.53 -   changes resulting from CSS Transitions that start during that <a
    1.54 -   href="#style-change-event">style change event</a>, and both exclude styles
    1.55 -   from CSS Transitions that are stopped during the <a
    1.56 -   href="#style-change-event">style change event</a>. They differ in how they
    1.57 -   include styles from CSS Transitions that existed before the <a
    1.58 -   href="#style-change-event">style change event</a> and continue running
    1.59 -   after it. </span>
    1.60 +   styles from CSS Transitions in the computation, and inheriting from the <a
    1.61 +   href="#after-change-style">after-change style</a> of the parent.
    1.62  
    1.63    <div class=note>
    1.64     <p> Note that this definition of the <a
    1.65 @@ -1910,13 +1886,8 @@
    1.66  
    1.67    <ul>
    1.68     <li>Canceling and interrupting of running transitions is defined much more
    1.69 -    precisely. This involved introducing the new concept of <a
    1.70 -    href="#after-transition-style">after-transition style</a>, which also
    1.71 -    means that the <a href="#after-change-style">after-change style</a> is no
    1.72 -    longer a tree of style at a single point in time (since the transition
    1.73 -    computation on a parent element depends on the after-change style for
    1.74 -    that parent, but is required prior to computing the after-change style
    1.75 -    for its children).
    1.76 +    precisely. This includes the after-change style no longer including
    1.77 +    styles from CSS Transitions.
    1.78  
    1.79     <li>Completion of transitions is defined somewhat more precisely.
    1.80  
    1.81 @@ -2169,9 +2140,6 @@
    1.82     <li>after-change style, <a href="#after-change-style"
    1.83      title="section 3."><strong>3.</strong></a>
    1.84  
    1.85 -   <li>after-transition style, <a href="#after-transition-style"
    1.86 -    title="section 3."><strong>3.</strong></a>
    1.87 -
    1.88     <li>before-change style, <a href="#before-change-style"
    1.89      title="section 3."><strong>3.</strong></a>
    1.90  
     2.1 --- a/css-transitions/Overview.src.html	Mon Jan 19 22:10:05 2015 -0500
     2.2 +++ b/css-transitions/Overview.src.html	Tue Jan 20 12:23:45 2015 -0800
     2.3 @@ -946,34 +946,7 @@
     2.4          known at the start of that <span>style change event</span>,
     2.5          but excluding any styles from CSS Transitions in the computation,
     2.6          and inheriting from
     2.7 -        the <span>after-transition style</dfn> of the parent.
     2.8 -        <span class="note">(Note that inheriting from the
     2.9 -        <span>after-transition style</span> of the parent is needed to
    2.10 -        ensure that transitions are canceled properly
    2.11 -        when an ancestor and descendant are running transitions
    2.12 -        on the same inherited property.)</span>
    2.13 -        Finally, define the <dfn>after-transition style</dfn> as
    2.14 -        the computed style for the element based on the information
    2.15 -        known at the start of that <span>style change event</span>,
    2.16 -        excluding any styles from CSS Transitions that are started or
    2.17 -        stopped during that <span>style change event</span>, but
    2.18 -        including any styles from CSS Transitions that exist before
    2.19 -        the <span>style change event</span> and are not stopped during it
    2.20 -        (these are defined below),
    2.21 -        also inheriting from the <span>after-transition style</span>
    2.22 -        of the parent.
    2.23 -      </p>
    2.24 -
    2.25 -      <p class="note">
    2.26 -        Note that the <span>after-change style</dfn> and
    2.27 -        the <span>after-transition style</span>
    2.28 -        both exclude any changes resulting from CSS Transitions
    2.29 -        that start during that <span>style change event</span>,
    2.30 -        and both exclude styles from CSS Transitions
    2.31 -        that are stopped during the <span>style change event</span>.
    2.32 -        They differ in how they include styles from CSS Transitions
    2.33 -        that existed before the <span>style change event</span>
    2.34 -        and continue running after it.
    2.35 +        the <span>after-change style</span> of the parent.
    2.36        </p>
    2.37  
    2.38        <div class="note">
    2.39 @@ -1916,7 +1889,7 @@
    2.40  dated 19 November 2013</a>:</p>
    2.41  
    2.42  <ul>
    2.43 -  <li>Canceling and interrupting of running transitions is defined much more precisely.  This involved introducing the new concept of <span>after-transition style</span>, which also means that the <span>after-change style</span> is no longer a tree of style at a single point in time (since the transition computation on a parent element depends on the after-change style for that parent, but is required prior to computing the after-change style for its children).</p>
    2.44 +  <li>Canceling and interrupting of running transitions is defined much more precisely.  This includes the after-change style no longer including styles from CSS Transitions.</p>
    2.45    <li>Completion of transitions is defined somewhat more precisely.</p>
    2.46    <li>The transitionend event is no longer cancelable.  This is since it has no default action, so canceling it would have no meaning.  It also matches the animation events.</p>
    2.47    <li>The interpolation of ''inset'' values on shadow lists is no longer backwards.</p>

mercurial