You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the <a>computed values</a> that changed in that event.
623
625
If an element is not in the document during that
624
626
style change even or was not in the document during
625
627
the previous style change event,
626
628
then transitions are not started for that element
627
629
in that style change event.
628
630
Otherwise,
629
631
define the <dfn>before-change style</dfn> as
630
-
the computed style for the element as of
632
+
the <a>computed values</a> of all properties on the element as of
631
633
the previous <a>style change event</a>,
632
634
except with any styles derived from declarative
633
635
animations such as CSS Transitions, CSS Animations
634
636
([[CSS3-ANIMATIONS]]),
635
637
and SMIL Animations ([[SMIL-ANIMATION]], [[SVG11]])
636
638
updated to the current time.
637
639
Likewise, define the <dfn>after-change style</dfn> as
638
-
the computed style for the element based on the information
640
+
the <a>computed values</a> of all properties
641
+
on the element based on the information
639
642
known at the start of that <a>style change event</a>,
640
643
but excluding any styles from CSS Transitions in the computation,
641
644
and inheriting from
@@ -1618,7 +1621,7 @@ dated 19 November 2013</a>:</p>
1618
1621
<li>The interpolation of ''shadow/inset'' values on shadow lists is no longer backwards.</li>
1619
1622
<li>A [[#conformance]] section and [[#idl-index]] have been added</li>
1620
1623
<li>The identifiers accepted by 'transition-property' are defined in terms of <<custom-ident>>.</li>
1621
-
<li>Define a little bit more about when changes to computed style happen, by saying at least that implementations must not update the effects of computed style without actually updating computed style.</li>
1624
+
<li>Define a little bit more about when changes to computed values happen, by saying at least that implementations must not update the effects of computed values without actually updating computed values.</li>
1622
1625
</ul>
1623
1626
1624
1627
<p>For more details on these changes, see the version control <a href="https://hg.csswg.org/drafts/log/tip/css-transitions/Overview.bs">change log since 2015 January 26</a> and the <a href="https://hg.csswg.org/drafts/log/tip/css-transitions/Overview.src.html">change log from 2013 March 28 to 2015 January 26</a>.</p>
Various things can cause the computed style of an element to change,
964
-
or for an element to start or stop having computed style.
963
+
Various things can cause the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> of properties
964
+
on an element to change.
965
965
These include
966
966
insertion and removal of elements from the document tree
967
-
(which both changes whether those elements have computed styles and
967
+
(which both changes whether those elements have <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> and
968
968
can change the styles of other elements through selector matching),
969
969
changes to the document tree that cause
970
970
changes to which selectors match elements,
971
971
changes to style sheets or style attributes,
972
972
and other things.
973
-
This specification does not define when computed styles are updated,
973
+
This specification does not define when <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> are updated,
974
974
beyond saying that implementations must not
975
975
use, present, or display something resulting from the CSS
976
976
cascading, value computation, and inheritance process <adata-link-type="biblio" href="#biblio-css3cascade">[CSS3CASCADE]</a>
977
-
without updating the computed style
977
+
without updating the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a>
978
978
(which means merely that implementations cannot avoid
979
979
meeting requirements of this specification
980
-
by claiming not to have updated the computed style
980
+
by claiming not to have updated the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a>
981
981
as part of handling a style change).
982
982
However,
983
-
when an implementation updates the computed style for an element
983
+
when an implementation updates the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a> of a
984
+
property on an element
984
985
to reflect one of these changes,
985
-
or computes the computed style for an element
986
+
or computes the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a> of a property on an element
986
987
newly added to the document,
987
-
it must update the computed style for all elements to reflect all
988
+
it must update the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed value</a>
989
+
for all properties and elements to reflect all
988
990
of these changes at the same time
989
991
(or at least it must be undetectable that it was done at a
990
992
different time).
991
993
This processing of a set of simultaneous style changes is called a
When a <adata-link-type="dfn" href="#style-change-event">style change event</a> occurs,
1014
1016
implementations must start transitions based on
1015
-
the computed styles that changed in that event.
1017
+
the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> that changed in that event.
1016
1018
If an element is not in the document during that
1017
1019
style change even or was not in the document during
1018
1020
the previous style change event,
1019
1021
then transitions are not started for that element
1020
1022
in that style change event.
1021
1023
Otherwise,
1022
1024
define the <dfndata-dfn-type="dfn" data-noexport="" id="before_change-style">before-change style<aclass="self-link" href="#before_change-style"></a></dfn> as
1023
-
the computed style for the element as of
1025
+
the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> of all properties on the element as of
1024
1026
the previous <adata-link-type="dfn" href="#style-change-event">style change event</a>,
1025
1027
except with any styles derived from declarative
1026
1028
animations such as CSS Transitions, CSS Animations
and SMIL Animations (<adata-link-type="biblio" href="#biblio-smil-animation">[SMIL-ANIMATION]</a>, <adata-link-type="biblio" href="#biblio-svg11">[SVG11]</a>)
1029
1031
updated to the current time.
1030
1032
Likewise, define the <dfndata-dfn-type="dfn" data-noexport="" id="after_change-style">after-change style<aclass="self-link" href="#after_change-style"></a></dfn> as
1031
-
the computed style for the element based on the information
1033
+
the <adata-link-type="dfn" href="http://dev.w3.org/csswg/css-cascade-3/#computed-value">computed values</a> of all properties
1034
+
on the element based on the information
1032
1035
known at the start of that <adata-link-type="dfn" href="#style-change-event">style change event</a>,
1033
1036
but excluding any styles from CSS Transitions in the computation,
<li>The identifiers accepted by <aclass="property" data-link-type="propdesc" href="#propdef-transition-property">transition-property</a> are defined in terms of <aclass="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#identifier-value"><custom-ident></a>.
2449
2452
2450
-
<li>Define a little bit more about when changes to computed style happen, by saying at least that implementations must not update the effects of computed style without actually updating computed style.
2453
+
<li>Define a little bit more about when changes to computed values happen, by saying at least that implementations must not update the effects of computed values without actually updating computed values.
0 commit comments