[css3-transitions] Interpolation of colors is in premultiplied space.

Sun, 03 Feb 2013 23:26:51 -0700

author
L. David Baron <dbaron@dbaron.org>
date
Sun, 03 Feb 2013 23:26:51 -0700
changeset 7299
be188be3a708
parent 7298
ea66fed14ca7
child 7300
6b5583cd39bb

[css3-transitions] Interpolation of colors is in premultiplied space.

This is as resolved in http://lists.w3.org/Archives/Public/www-style/2012Nov/0262.html

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	Sun Feb 03 23:24:56 2013 -0700
     1.2 +++ b/css3-transitions/Overview.html	Sun Feb 03 23:26:51 2013 -0700
     1.3 @@ -1235,9 +1235,9 @@
     1.4  
     1.5    <ul>
     1.6     <li> <strong>color</strong>: interpolated via red, green, blue and alpha
     1.7 -    components (treating each as a number, see below).
     1.8 -    <div class=issue>Issue: Are the colors interpolated in premultiplied
     1.9 -     space or non-premultiplied space?</div>
    1.10 +    components (treating each as a number, see below). The interpolation is
    1.11 +    done between premultiplied colors (that is, colors for which the red,
    1.12 +    green, and blue components specified have been multiplied by the alpha).
    1.13  
    1.14     <li> <strong>length</strong>: interpolated as real numbers.
    1.15  
     2.1 --- a/css3-transitions/Overview.src.html	Sun Feb 03 23:24:56 2013 -0700
     2.2 +++ b/css3-transitions/Overview.src.html	Sun Feb 03 23:26:51 2013 -0700
     2.3 @@ -1255,8 +1255,9 @@
     2.4          <li>
     2.5            <strong>color</strong>: interpolated via red, green, blue and alpha
     2.6            components (treating each as a number, see below).
     2.7 -          <div class="issue">Issue: Are the colors interpolated in
     2.8 -          premultiplied space or non-premultiplied space?</div>
     2.9 +          The interpolation is done between premultiplied colors
    2.10 +          (that is, colors for which the red, green, and blue components
    2.11 +          specified have been multiplied by the alpha).
    2.12          </li>
    2.13          <li>
    2.14            <strong>length</strong>: interpolated as real numbers.

mercurial