@@ -4870,6 +4870,7 @@ Interpolating with alpha</h3>
48704870 they are transformed into <dfn export>premultiplied color values</dfn>
48714871 as follows:
48724872
4873+ * If the alpha value is ''none'' , the premultiplied value is the un-premultiplied value. Otherwise,
48734874 * If any component value is ''none'' , the premultiplied value is also ''none'' .
48744875 * For [=rectangular orthogonal color=] coordinate systems,
48754876 all component values are multiplied by the alpha value.
@@ -4879,10 +4880,10 @@ Interpolating with alpha</h3>
48794880
48804881 To obtain a color value from a premultipled color value,
48814882
4883+ * If the interpolated alpha value is zero or ''none'' ,
4884+ the un-premultiplied value is the premultiplied value. Otherwise,
48824885 * If any component value is ''none'' ,
48834886 the un-premultiplied value is also ''none'' .
4884- * If the alpha value is zero,
4885- the un-premultiplied value is the premultiplied value
48864887 * otherwise, each component which had been premultiplied
48874888 is divided by the interpolated alpha value.
48884889
@@ -5885,6 +5886,14 @@ parsing/relative-color-valid.html
58855886<h2 id='changes' class='no-num'>
58865887Changes</h2>
58875888
5889+ <h3 id="changes-from-20220428">Changes since the
5890+ <a href="https://www.w3.org/TR/2022/WD-css-color-4-20220428/">Working Draft of 28 April 2022</a>
5891+ </h3>
5892+
5893+ <ul>
5894+ <!-- to 5 May 2022 -->
5895+ <li> Accounted for ''none'' alpha in premultiplication and un-premultiplication</li>
5896+
58885897<h3 id="changes-from-20211215">Changes since the
58895898 <a href="https://www.w3.org/TR/2021/WD-css-color-4-20211215/">Working Draft of 15 December 2021</a>
58905899</h3>
0 commit comments