[css-transitions] Add a note explaining that values from transitions are inherited normally.

Tue, 10 Sep 2013 11:30:26 +0200

author
L. David Baron <dbaron@dbaron.org>
date
Tue, 10 Sep 2013 11:30:26 +0200
changeset 9080
d377b9f852f3
parent 9079
bf51b9779673
child 9081
1b274b3a1e4b

[css-transitions] Add a note explaining that values from transitions are inherited normally.

This implements the remainder of part D of the proposal in
http://lists.w3.org/Archives/Public/www-style/2013Mar/0297.html
as resolved in
http://lists.w3.org/Archives/Public/www-style/2013Jun/0682.html

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	Tue Sep 10 11:30:26 2013 +0200
     1.2 +++ b/css-transitions/Overview.html	Tue Sep 10 11:30:26 2013 +0200
     1.3 @@ -1073,6 +1073,11 @@
     1.4     at the level defined for CSS Transitions in <a href="#CSS3CASCADE"
     1.5     rel=biblioentry>[CSS3CASCADE]<!--{{CSS3CASCADE}}--></a>.
     1.6  
     1.7 +  <p class=note> Note that this means that computed values resulting from CSS
     1.8 +   transitions can inherit to descendants just like any other computed
     1.9 +   values. In the normal case, this means that a transition of an inherited
    1.10 +   property applies to descendant elements just as an author would expect.
    1.11 +
    1.12    <p> Implementations must add this value to the cascade if and only if that
    1.13     property is not currently undergoing a CSS Animation (<a
    1.14     href="#CSS3-ANIMATIONS"
    1.15 @@ -1761,6 +1766,9 @@
    1.16       <li>Add a note pointing out that the above definitions imply that
    1.17        transitions can start simultaneously, from the same change, on
    1.18        ancestors and descendants.
    1.19 +
    1.20 +     <li>Define that CSS transitions participate in CSS's cascading and
    1.21 +      inheritance model
    1.22      </ul>
    1.23    </ul>
    1.24  
     2.1 --- a/css-transitions/Overview.src.html	Tue Sep 10 11:30:26 2013 +0200
     2.2 +++ b/css-transitions/Overview.src.html	Tue Sep 10 11:30:26 2013 +0200
     2.3 @@ -1085,6 +1085,17 @@
     2.4          at the level defined for CSS Transitions in [[CSS3CASCADE]].
     2.5        </p>
     2.6  
     2.7 +      <p class="note">
     2.8 +        Note that this means that computed values
     2.9 +        resulting from CSS transitions
    2.10 +        can inherit to descendants just like
    2.11 +        any other computed values.
    2.12 +        In the normal case, this means that
    2.13 +        a transition of an inherited property
    2.14 +        applies to descendant elements
    2.15 +        just as an author would expect.
    2.16 +      </p>
    2.17 +
    2.18        <p>
    2.19          Implementations must add this value to the cascade
    2.20          if and only if
    2.21 @@ -1708,6 +1719,7 @@
    2.22        <li>Define the <span>before-change style</span> and <span>after-change style</span> used for the style comparison, using the new concept of a <span>style change event</span>.
    2.23        <li>Define that a CSS transition for a property does not affect computed style when a CSS Animation for the same property is running.
    2.24        <li>Add a note pointing out that the above definitions imply that transitions can start simultaneously, from the same change, on ancestors and descendants.
    2.25 +      <li>Define that CSS transitions participate in CSS's cascading and inheritance model
    2.26      </ul>
    2.27  </ul>
    2.28  

mercurial