Skip to content

Commit 669bf51

Browse files
committed
[css-transitions] Partially define when computed values change by saying that computed values have to change before the change is presented/displayed/used.
Addresses part of https://www.w3.org/Bugs/Public/show_bug.cgi?id=16016
1 parent 5eec440 commit 669bf51

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

css-transitions/Overview.bs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,15 @@ url: http://w3c.github.io/dom/#constructing-events; type: dfn; text: event const
575575
changes to which selectors match elements,
576576
changes to style sheets or style attributes,
577577
and other things.
578-
This specification does not define when computed styles are updated.
578+
This specification does not define when computed styles are updated,
579+
beyond saying that implementations must not
580+
use, present, or display something resulting from the CSS
581+
cascading, value computation, and inheritance process [[!CSS3CASCADE]]
582+
without updating the computed style
583+
(which means merely that implementations cannot avoid
584+
meeting requirements of this specification
585+
by claiming not to have updated the computed style
586+
as part of handling a style change).
579587
However,
580588
when an implementation updates the computed style for an element
581589
to reflect one of these changes,
@@ -1599,6 +1607,7 @@ dated 19 November 2013</a>:</p>
15991607
<li>The interpolation of ''shadow/inset'' values on shadow lists is no longer backwards.</li>
16001608
<li>A [[#conformance]] section and [[#idl-index]] have been added</li>
16011609
<li>The identifiers accepted by 'transition-property' are defined in terms of <<custom-ident>>.</li>
1610+
<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>
16021611
</ul>
16031612

16041613
<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>

css-transitions/Overview.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,15 @@ <h2 class="heading settled" data-level="3" id="starting"><span class="secno">3.
965965
changes to which selectors match elements,
966966
changes to style sheets or style attributes,
967967
and other things.
968-
This specification does not define when computed styles are updated.
968+
This specification does not define when computed styles are updated,
969+
beyond saying that implementations must not
970+
use, present, or display something resulting from the CSS
971+
cascading, value computation, and inheritance process <a data-link-type="biblio" href="#biblio-css3cascade">[CSS3CASCADE]</a>
972+
without updating the computed style
973+
(which means merely that implementations cannot avoid
974+
meeting requirements of this specification
975+
by claiming not to have updated the computed style
976+
as part of handling a style change).
969977
However,
970978
when an implementation updates the computed style for an element
971979
to reflect one of these changes,
@@ -2426,6 +2434,8 @@ <h2 class="heading settled" data-level="9" id="changes"><span class="secno">9. <
24262434
Conformance</a> section and <a href="#idl-index">IDL Index</a> have been added
24272435

24282436
<li>The identifiers accepted by <a class="property" data-link-type="propdesc" href="#propdef-transition-property">transition-property</a> are defined in terms of <a class="production css" data-link-type="type" href="http://dev.w3.org/csswg/css-values-3/#identifier-value">&lt;custom-ident></a>.
2437+
2438+
<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.
24292439
</ul>
24302440

24312441

0 commit comments

Comments
 (0)