Actually address the clamping issue.

Thu, 12 Jul 2012 17:42:54 -0700

author
L. David Baron <dbaron@dbaron.org>
date
Thu, 12 Jul 2012 17:42:54 -0700
changeset 6226
a15b3c1c5161
parent 6225
acf1802d0da1
child 6227
34e51e48689d

Actually address the clamping issue.

css3-transitions/Overview.html file | annotate | diff | comparison | revisions
css3-transitions/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-transitions/Overview.html	Thu Jul 12 17:37:40 2012 -0700
     1.2 +++ b/css3-transitions/Overview.html	Thu Jul 12 17:42:54 2012 -0700
     1.3 @@ -1149,9 +1149,11 @@
     1.4     <i>V</i><sub>res</sub> = (1 - <i>p</i>) ⋅ <i>V</i><sub>start</sub> +
     1.5     <i>p</i> ⋅ <i>V</i><sub>end</sub>.
     1.6  
     1.7 -  <p class=issue>Issue: Need to describe handling of out-of-range values that
     1.8 -   can result from cubic-bezier(). Clamping values to the allowed range is
     1.9 -   probably the best solution.
    1.10 +  <p> However, if this value (<i>V</i><sub>res</sub>) is outside the allowed
    1.11 +   range of values for the property, then it is clamped to that range. This
    1.12 +   can occur if <i>p</i> is outside of the range 0 to 1, which can occur if a
    1.13 +   timing function is specified with a <i>y1</i> or <i>y2</i> that is outside
    1.14 +   the range 0 to 1.
    1.15  
    1.16    <p> The following describes how each property type undergoes transition or
    1.17     animation.
     2.1 --- a/css3-transitions/Overview.src.html	Thu Jul 12 17:37:40 2012 -0700
     2.2 +++ b/css3-transitions/Overview.src.html	Thu Jul 12 17:42:54 2012 -0700
     2.3 @@ -1129,9 +1129,14 @@
     2.4            <i>p</i> &sdot; <i>V</i><sub>end</sub>.
     2.5        </p>
     2.6  
     2.7 -      <p class="issue">Issue:  Need to describe handling of out-of-range
     2.8 -      values that can result from cubic-bezier().  Clamping values to the
     2.9 -      allowed range is probably the best solution.</p>
    2.10 +      <p>
    2.11 +        However, if this value (<i>V</i><sub>res</sub>)
    2.12 +        is outside the allowed range of values for the property,
    2.13 +        then it is clamped to that range.
    2.14 +        This can occur if <i>p</i> is outside of the range 0 to 1,
    2.15 +        which can occur if a timing function is specified
    2.16 +        with a <i>y1</i> or <i>y2</i> that is outside the range 0 to 1.
    2.17 +      </p>
    2.18  
    2.19        <p>
    2.20          The following describes how each property type undergoes transition or

mercurial