Skip to content

Commit e302770

Browse files
committed
[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.
1 parent b919f02 commit e302770

2 files changed

Lines changed: 9 additions & 68 deletions

File tree

css-transitions/Overview.html

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
rel=dcterms.rights>
1111
<meta content="CSS Transitions" name=dcterms.title>
1212
<meta content=text name=dcterms.type>
13-
<meta content=2014-12-28 name=dcterms.date>
13+
<meta content=2015-01-20 name=dcterms.date>
1414
<meta content="L. David Baron" name=dcterms.creator>
1515
<meta content=W3C name=dcterms.publisher>
1616
<meta content="http://dev.w3.org/csswg/css3-transitions/"
@@ -40,7 +40,7 @@
4040

4141
<h1>CSS Transitions</h1>
4242

43-
<h2 class="no-num no-toc">Editor's Draft 28 December 2014</h2>
43+
<h2 class="no-num no-toc">Editor's Draft 20 January 2015</h2>
4444

4545
<dl>
4646
<dt>This version:
@@ -107,7 +107,7 @@ <h2 class="no-num no-toc">Editor's Draft 28 December 2014</h2>
107107
<!--begin-copyright-->
108108
<p class=copyright><a
109109
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
110-
rel=license>Copyright</a> © 2014 <a href="http://www.w3.org/"><abbr
110+
rel=license>Copyright</a> © 2015 <a href="http://www.w3.org/"><abbr
111111
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
112112
href="http://www.csail.mit.edu/"><abbr
113113
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
@@ -937,32 +937,8 @@ <h2 id=starting><span class=secno>3. </span> Starting of transitions</h2>
937937
id=after-change-style>after-change style</dfn> as the computed style for
938938
the element based on the information known at the start of that <a
939939
href="#style-change-event">style change event</a>, but excluding any
940-
styles from CSS Transitions in the computation, and inheriting from the
941-
<span>after-transition style of the parent. <span class=note>(Note that
942-
inheriting from the <a href="#after-transition-style">after-transition
943-
style</a> of the parent is needed to ensure that transitions are canceled
944-
properly when an ancestor and descendant are running transitions on the
945-
same inherited property.)</span> Finally, define the <dfn
946-
id=after-transition-style>after-transition style</dfn> as the computed
947-
style for the element based on the information known at the start of that
948-
<a href="#style-change-event">style change event</a>, excluding any styles
949-
from CSS Transitions that are started or stopped during that <a
950-
href="#style-change-event">style change event</a>, but including any
951-
styles from CSS Transitions that exist before the <a
952-
href="#style-change-event">style change event</a> and are not stopped
953-
during it (these are defined below), also inheriting from the <a
954-
href="#after-transition-style">after-transition style</a> of the parent.
955-
</span>
956-
957-
<p class=note> Note that the <span>after-change style and the <a
958-
href="#after-transition-style">after-transition style</a> both exclude any
959-
changes resulting from CSS Transitions that start during that <a
960-
href="#style-change-event">style change event</a>, and both exclude styles
961-
from CSS Transitions that are stopped during the <a
962-
href="#style-change-event">style change event</a>. They differ in how they
963-
include styles from CSS Transitions that existed before the <a
964-
href="#style-change-event">style change event</a> and continue running
965-
after it. </span>
940+
styles from CSS Transitions in the computation, and inheriting from the <a
941+
href="#after-change-style">after-change style</a> of the parent.
966942

967943
<div class=note>
968944
<p> Note that this definition of the <a
@@ -1910,13 +1886,8 @@ <h2 id=changes><span class=secno>9. </span>Changes since Working Draft of
19101886

19111887
<ul>
19121888
<li>Canceling and interrupting of running transitions is defined much more
1913-
precisely. This involved introducing the new concept of <a
1914-
href="#after-transition-style">after-transition style</a>, which also
1915-
means that the <a href="#after-change-style">after-change style</a> is no
1916-
longer a tree of style at a single point in time (since the transition
1917-
computation on a parent element depends on the after-change style for
1918-
that parent, but is required prior to computing the after-change style
1919-
for its children).
1889+
precisely. This includes the after-change style no longer including
1890+
styles from CSS Transitions.
19201891

19211892
<li>Completion of transitions is defined somewhat more precisely.
19221893

@@ -2169,9 +2140,6 @@ <h2 class=no-num id=index>Index</h2>
21692140
<li>after-change style, <a href="#after-change-style"
21702141
title="section 3."><strong>3.</strong></a>
21712142

2172-
<li>after-transition style, <a href="#after-transition-style"
2173-
title="section 3."><strong>3.</strong></a>
2174-
21752143
<li>before-change style, <a href="#before-change-style"
21762144
title="section 3."><strong>3.</strong></a>
21772145

css-transitions/Overview.src.html

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -946,34 +946,7 @@ <h2 id="starting">
946946
known at the start of that <span>style change event</span>,
947947
but excluding any styles from CSS Transitions in the computation,
948948
and inheriting from
949-
the <span>after-transition style</dfn> of the parent.
950-
<span class="note">(Note that inheriting from the
951-
<span>after-transition style</span> of the parent is needed to
952-
ensure that transitions are canceled properly
953-
when an ancestor and descendant are running transitions
954-
on the same inherited property.)</span>
955-
Finally, define the <dfn>after-transition style</dfn> as
956-
the computed style for the element based on the information
957-
known at the start of that <span>style change event</span>,
958-
excluding any styles from CSS Transitions that are started or
959-
stopped during that <span>style change event</span>, but
960-
including any styles from CSS Transitions that exist before
961-
the <span>style change event</span> and are not stopped during it
962-
(these are defined below),
963-
also inheriting from the <span>after-transition style</span>
964-
of the parent.
965-
</p>
966-
967-
<p class="note">
968-
Note that the <span>after-change style</dfn> and
969-
the <span>after-transition style</span>
970-
both exclude any changes resulting from CSS Transitions
971-
that start during that <span>style change event</span>,
972-
and both exclude styles from CSS Transitions
973-
that are stopped during the <span>style change event</span>.
974-
They differ in how they include styles from CSS Transitions
975-
that existed before the <span>style change event</span>
976-
and continue running after it.
949+
the <span>after-change style</span> of the parent.
977950
</p>
978951

979952
<div class="note">
@@ -1916,7 +1889,7 @@ <h2 id="changes">Changes since Working Draft of 19 November 2013</h2>
19161889
dated 19 November 2013</a>:</p>
19171890

19181891
<ul>
1919-
<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>
1892+
<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>
19201893
<li>Completion of transitions is defined somewhat more precisely.</p>
19211894
<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>
19221895
<li>The interpolation of ''inset'' values on shadow lists is no longer backwards.</p>

0 commit comments

Comments
 (0)